Vulnerability record

CVE-2021-21311

Adminer Server-Side Request Forgery Vulnerability

Severity: HighExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Adminer, fix it now.

CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

US federal civilian agencies must remediate by Oct 20, 2025.

Patch status

Official fix available since

Apply the vendor's update to every affected system. Check the fixed-in versions below where known.

Basis: NVD patch reference

Description

Adminer is an open-source database management in a single PHP file. In adminer from version 4.0.0 and before 4.7.9 there is a server-side request forgery vulnerability. Users of Adminer versions bundling all drivers (e.g. `adminer.php`) are affected. This is fixed in version 4.7.9.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
AdminerAdminer>= 4.0.0, < 4.7.94.7.9KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2021-21311 scored CVSS 7.2: Adminer Adminer, Adminer Server-Side Request Forgery Vulnerability

    CISA lists this as exploited in the wild. Unpatched Adminer systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

  2. Patch releasedUpdateKEV

    Patch released for CVE-2021-21311: Adminer Adminer, Adminer Server-Side Request Forgery Vulnerability

    An official fix is now available for Adminer Adminer. This vulnerability is being exploited, so apply it promptly.

    Basis: NVD patch reference

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • github.com https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-21311
  • github.com https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351
  • github.com https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html
  • packagist.org https://packagist.org/packages/vrana/adminer
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311