CVE-2021-21311: Adminer Server-Side Request Forgery Vulnerability
CVE-2021-21311 is a high-severity flaw (CVSS 7.2) affecting adminer, debian linux, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 98.5% (top 1%) |
| CISA exploited list | Yes, fix due 2025-10-20 |
| Weakness | CWE-918 |
| Published | 2021-02-11 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: llhala/CVE-2021-21311 (8 stars)
- GitHub PoC: omoknooni/CVE-2021-21311 (3 stars)
- GitHub PoC: Sudo-WP/sudowp-adminer (1 stars)
- Nuclei scan template: Adminer <4.7.9 - Server-Side Request Forgery
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-21311?
adminer: upgrade to 4.7.9; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-21311 being exploited?
Yes. CVE-2021-21311 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2021-21311 affect?
CVE-2021-21311 affects adminer, debian linux. Severity is high (CVSS 7.2). 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
How urgent is CVE-2021-21311?
Priority 90/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
PHP vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2025-43960 HIGH 8.6 DOWNGRADE Adminer 4.8.1, when using Monolog for logging, allows a Denial of Service (memory consumption) via a crafted s
- CVE-2021-43008 HIGH 7.5 UPGRADE MITIGATE Improper Access Control in Adminer versions 1.12.0 to 4.6.2 (fixed in version 4.6.3) allows an attacker to ach
- CVE-2021-29625 HIGH 7.5 UPGRADE Adminer is open-source database management software
- CVE-2020-35572 MEDIUM 6.1 UPGRADE Adminer through 4.7.8 allows XSS via the history parameter to the default URI.
- CVE-2020-35186 CRITICAL 9.8 UPGRADE The official adminer docker images before 4.7.0-fastcgi contain a blank password for a root user