CVE-2021-21311
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.
Severity
HIGH
CVSS v3
7.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N · source cna
Exploit chance (EPSS)
98.464%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2025-09-29
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 1
Weakness
- CWE-918: Server-Side Request Forgery
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | Adminer Server-Side Request Forgery Vulnerability |
|---|---|
| Vendor / product | Adminer / Adminer |
| Date added | 2025-09-29 |
| Federal remediation due date | 2025-10-20 |
| 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. |
| Known ransomware campaign use | Unknown |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-09-27 |
Timeline
- 2021-02-11Published by the CNA20:55 UTC
- 2021-02-11GitHub advisory published (GHSA-x5r2-hj5c-8jx6)same day
- 2025-09-27CISA SSVC decision recorded1689 days after publication
- 2025-09-29Added to the CISA KEV catalog1691 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2021-21311: Adminer <4.7.9 - Server-Side Request Forgery
GitHub advisory GHSA-x5r2-hj5c-8jx6, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist vrana/adminer | before 4.7.9 | 4.7.9 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| adminer adminer | from 4.0.0 before 4.7.9fixed in 4.7.9 | 4.7.9 |
| debian debian_linux | 9.0no fix listed | not listed |
References
- https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351
- https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6
- https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf
- https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html
- https://packagist.org/packages/vrana/adminer
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-21311'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-21311'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-21311'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-21311'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2021-21311'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).