CVE-2021-21311
HIGH 7.2CVSS 3.1known exploitedSSRF in adminer
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.
- Published
- 11 Feb 2021
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-x5r2-hj5c-8jx6
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-x5r2-hj5c-8jx6JSON
In CISA's Known Exploited Vulnerabilities catalog since 29 Sep 2025; US federal agencies must fix it by 20 Oct 2025.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | adminer | adminercpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.7.9 | 4.7.9 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | Packagist | vrana/adminer | < 4.7.9 | 4.7.9 |
References
- https://github.com/vrana/adminer/commit/ccd2374b0b12bd547417bf0dacdf153826c83351 · Patch, WEB
- https://github.com/vrana/adminer/files/5957311/Adminer.SSRF.pdf · Exploit, Third Party Advisory, WEB
- https://github.com/vrana/adminer/security/advisories/GHSA-x5r2-hj5c-8jx6 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/03/msg00002.html · Mailing List, Third Party Advisory, WEB
- https://packagist.org/packages/vrana/adminer · Product, Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-21311 · US Government Resource, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21311 · ADVISORY
- https://github.com/vrana/adminer · PACKAGE
- https://sourceforge.net/p/adminer/news/2021/02/adminer-479-released · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Feb 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Feb 2021)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 29 Sep 2025)
- 29 Sep 2025 00:00 UTC · Listed as known exploited