Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-21311

HIGH 7.2ExploitedPoCEPSS 100%

SSRF in adminer

Also known as GHSA-x5r2-hj5c-8jx6

Mitigation

  • Upgrade vrana/adminer to 4.7.9 or later.

Who should check

  • Projects that depend on Packagist package vrana/adminer (< 4.7.9)
  • Anyone running vrana adminer >= 4.0.0, < 4.7.9

Vulnerability facts

Affected
vrana/adminer < 4.7.9
Fixed in
4.7.9
Exploited in the wild
Yes: in CISA KEV since 2025-09-29; federal due date 2025-10-20
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
7.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
98.46% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-918
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist vrana/adminer< 4.7.94.7.9osv
vrana adminer>= 4.0.0, < 4.7.9—cvelist

Timeline

  1. 2021-02-11 Published
  2. 2025-09-29 Added to CISA KEV (exploited in the wild)
  3. 2025-10-20 CISA remediation due date for US federal agencies
  4. 2026-09-10 Last modified

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-21311. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-21311.md
Affected: vrana/adminer < 4.7.9
Fixed in: 4.7.9

Steps:
1. Search this machine and project for vrana/adminer (Packagist), vrana adminer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-21311 being exploited?

Yes. CISA lists CVE-2021-21311 in its Known Exploited Vulnerabilities catalog since 2025-09-29, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 98.46% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-21311?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2021-21311?

vrana/adminer < 4.7.9.

Is there a fix for CVE-2021-21311?

Yes. Fixed in 4.7.9. Upgrade vrana/adminer to 4.7.9 or later.

How do I check if I'm affected by CVE-2021-21311?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors