CVE-2021-21311

CVE-2021-21311 is a high-severity vulnerability in Adminer with a CVSS 3.x base score of 7.2. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-09-29). The underlying weakness is classified as CWE-918.

Key facts

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.

Frequently asked questions

What is CVE-2021-21311?
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.
How severe is CVE-2021-21311?
CVE-2021-21311 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2021-21311 being actively exploited?
Yes. CVE-2021-21311 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-09-29, which means active exploitation has been confirmed. It should be prioritised for remediation.
What products are affected by CVE-2021-21311?
CVE-2021-21311 primarily affects Adminer. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2021-21311?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
Does CVE-2021-21311 have an EU (EUVD) identifier?
Yes. CVE-2021-21311 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2021-0576. It is also flagged as exploited in the EUVD (since 2025-09-29).
When was CVE-2021-21311 published?
CVE-2021-21311 was published on 2021-02-11 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Adminer

All CVEs affecting Adminer →

Other CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities

Browse all CWE-918 (Server-Side Request Forgery (SSRF)) vulnerabilities →