CVE-2026-100698Adminer before 6.0.2 Privileged-Port SSRF via host_port Regex
Adminer 5.5.1 through 6.0.1 improperly parses the login 'server' string in the host_port() function in adminer/include/functions.inc.php. The port capture group requires pure digits anchored to the end of the string, so any server value with a non-digit tail fails the regex and falls back to returning the whole string as the host with an empty port. Because the privileged-port restriction in adminer/include/auth.inc.php inspects only the parsed port, the check is skipped, and the mysqli/mysqlnd client subsequently re-parses host:port from the host string and opens a TCP connection. A remote, unauthenticated attacker who can reach the Adminer login page can submit a crafted value such as 127.0.0.1:80/x to make the server initiate TCP connections to arbitrary internal hosts and privileged ports before credentials are validated, enabling server-side request forgery and blind internal port scanning (connection refused vs. handshake vs. timeout acts as a liveness oracle). This is a regression that re-opens the bypass fixed in 5.5.0 (GHSA-58cq-mgw2-38m5). Fixed in 6.0.2.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | adminer | Fix pending | UBUNTU-CVE-2026-100698 | |
| Ubuntu 26.04 | adminer | Under investigation | UBUNTU-CVE-2026-100698 | |
| Ubuntu 24.04 | adminer | Under investigation | UBUNTU-CVE-2026-100698 | |
| Ubuntu 22.04 | adminer | Under investigation | UBUNTU-CVE-2026-100698 | |
| Ubuntu 20.04 | adminer | Fix pending | UBUNTU-CVE-2026-100698 | |
| Ubuntu 18.04 | adminer | Fix pending | UBUNTU-CVE-2026-100698 | |
| Ubuntu 16.04 | adminer | Fix pending | UBUNTU-CVE-2026-100698 | |
| Debian 14 | adminer | Fixed | 6.0.2-1 | DEBIAN-CVE-2026-100698 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vrana adminer: affected: before 6.0.2, 6.0.2 not affected; fixed in
6.0.2
Vendor advisories:
- https://github.com/vrana/adminer/security/advisories/GHSA-rwxg-xph9-82cj (vendor-advisory)
References
- https://github.com/vrana/adminer/security/advisories/GHSA-rwxg-xph9-82cj
- https://www.vulncheck.com/advisories/adminer-before-6.0.2-privileged-port-ssrf-via-host-port-regex
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.