CVE-2021-21311SSRF in adminer
- 7.2HighCVSS base score
- 98.5%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 29 Sept 2025
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Adminer Server-Side Request Forgery Vulnerability.
- Added
- 29 Sept 2025
- Fix due (US federal)
- 20 Oct 2025
- Used by ransomware
- Not known
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 29 Sept 2025.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits1
Nuclei templates1 template
- Adminer <4.7.9 - Server-Side Request Forgery (Nuclei template) (opens in a new tab)
http/cves/2021/CVE-2021-21311.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 51 days later
· 51 days later
Published
- 5 years later
· 5 years later
Added to CISA KEV
Known exploited in the wild
- 22 days later
· 22 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | High7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 98.5% · top 0.1% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.2.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistvrana/adminerGHSA-x5r2-hj5c-8jx6 (opens in a new tab)
References
References6
- https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf (opens in a new tab)x_refsource_MISCx_transferred
- https://packagist.org/packages/vrana/adminer (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20210302 [SECURITY] [DLA 2580-1] adminer security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0576 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x5r2-hj5c-8jx6 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21311)Record last updated .