Adminer before 6.0.2 Privileged-Port SSRF via host_port Regex
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA adminer (vrana) Fixed in 6.0.2
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
vrana adminer 6.0.2
4 records Highest priority Priority HIGH 2 HIGH, 2 MEDIUM
Other records, highest priority first
- TI-2026-64852 Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch DriverPriority HIGH 70
- TI-2026-64853 Adminer 6.0.0 Server-Side Request Forgery via ClickHouse driverPriority MEDIUM 63
- TI-2026-64851 Adminer before 6.0.2 XSS via CONNECTION_ID escalating to RCEPriority MEDIUM 57
Timeline
- 2026-10-02 Threatist record created from CVE-2026-100698
- 2026-10-03 Alias added: GHSA-wrf7-8p9h-xp6p
References
More Adminer vulnerabilities
- TI-2021-04411 SSRF in adminer KEVCVSS 3.1HIGH 7.2
- TI-2026-40884 Adminer before 5.4.3 Remote Code Execution via MSSQL PDO DSN Injection CVSS 4.0CRITICAL 9.3
- TI-2026-71163 Remote code execution in Adminer via UTF-8 BOM SQLite bypass CVSS 4.0HIGH 8.6
- TI-2026-40882 Adminer before 5.4.3 Remote Code Execution via SQLite VACUUM INTO CVSS 4.0HIGH 8.6
- TI-2026-64852 Adminer before 6.0.2 Unauthenticated SSRF via Elasticsearch Driver CVSS 4.0MEDIUM 6.9
- TI-2026-40881 Adminer before 5.4.3 Unrestricted File Upload via AdminerFileUpload CVSS 4.0HIGH 7.1
Sources
- CVE-2026-100698 · CVE Program
- CVE-2026-100698 · NVD
- FIRST EPSS
- GHSA-wrf7-8p9h-xp6p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences