CVE-2021-21311
Exploitation confirmed. First attested on 2025-09-27 by CISA-ADP, CISA KEV, GCVE · kevintel, GCVE · shadowserver.
- Published2021-02-11
- Fixed in4.7.9
- WeaknessCWE-918
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.x | ≥ 4.0.0, < 4.7.9 | 4.7.9 | NVD |
| 4.7 | < 4.7.9 | 4.7.9 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- vrana adminerAffected
- = >= 4.0.0, < 4.7.9no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2021-03-02
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- adminerUbuntu:Pro:20.04:LTSall versions · fixed in 4.7.6-1ubuntu0.1~esm1
- adminerUbuntu:Pro:18.04:LTSall versions · fixed in 4.6.2-1ubuntu0.1~esm1
- adminerUbuntu:Pro:16.04:LTSall versions · fixed in 4.2.1-1ubuntu1+esm1
- adminerDebian:14all versions · fixed in 4.7.9-1
- adminerDebian:13all versions · fixed in 4.7.9-1
- adminerDebian:12all versions · fixed in 4.7.9-1
- adminerDebian:9all versions · fixed in 4.2.5-3+deb9u2
Fix
- Update Adminer to 4.7.9
- CISA’s 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.due 2025-10-20
Advisories and patches
- github.comPatch
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01llhala/CVE-2021-21311omoknooni/CVE-2021-21311Sudo-WP/sudowp-adminer
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date Added
- 2025-09-29
- Patch Due Date
- 2025-10-20
- Ransomware Use
- Unknown
- 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.
Sources
- CISA KEVKEV entry2025-09-29
- ENISA EUVDexploitation2025-09-292025-09-29
- GCVEexploitation2025-09-29
- CISA-ADPSSVC decisionactive2025-09-27
- CNACVSS 3.17.2known since 2026-10-23
- NVDCVSS 3.17.2read 2026-10-23
- NVDCVSS 2.06.4read 2026-10-23
- CNAweakness (CWE)CWE-918known since 2026-10-23
- FIRST EPSSEPSS score98.5 %read 2026-11-04
- PoC-in-GitHubproof of concept3known since 2026-11-01
- ProjectDiscoverydetectionread 2026-11-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2021-02-11
Identifiers
- EUVD-2021-0576same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-x5r2-hj5c-8jx6same flawGitHub Advisory Database · CC-BY-4.0
- DLA-2580-1advisory covering several CVEsDebian · LicenseRef-unstated
- USN-5271-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Published
- 2021-02-11
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-x5r2-hj5c-8jx6
Frequently asked questions
What is CVE-2021-21311?
Is CVE-2021-21311 actively exploited?
What is the CVSS score for CVE-2021-21311?
Running vrana/adminer? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2021-43008same product
- CVE-2021-29625same product
- CVE-2026-25892same productAdminer has an Unauthenticated Persistent DoS via Array Injection in ?script=version Endpoint
- CVE-2026-56703same product
- CVE-2026-15686same product
- CVE-2026-56705same product
- CVE-2026-109347same product
- CVE-2025-43960same product
Sources for this record
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-x5r2-hj5c-8jx6
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0