Description
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.
Published: 2026-09-26
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Server‑side request forgery that allows blind internal port scanning and connections to privileged ports
Action: Immediate Patch
AI Analysis

Impact

Adminer versions 5.5.1 through 6.0.1 incorrectly parse the login "server" field, treating any string that does not end with a numeric port as an empty port and causing the host string to be re‑parsed by the database client. This flaw lets an unauthenticated remote attacker craft an entry such as 127.0.0.1:80/x so that the server opens a TCP connection to an arbitrary host and privileged port before credentials are verified, creating a blind server‑side request forgery and internal port‑scanning capability.

Affected Systems

The affected product is Adminer, published by vrana. Versions 5.5.1 up to and including 6.0.1 are vulnerable; the flaw was fixed in 6.0.2.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate severity. Exploitation requires only access to the Adminer login page and can be performed by any unauthenticated user. While no EPSS information is available, the lack of an official KEV listing suggests the vulnerability has not yet become a widely used exploit. Attackers can exploit the flaw to reach internal hosts and privileged ports, acting as a covert reconnaissance or foothold mechanism. The vulnerability does not depend on elevated privileges or special configuration beyond normal Adminer deployment.

Generated by OpenCVE AI on September 26, 2026 at 16:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Adminer to at least version 6.0.2, which fixes the SSRF flaw.
  • If an immediate upgrade is not feasible, restrict the Adminer web interface to trusted networks or place it behind a firewall or reverse proxy that blocks outbound connections to internal hosts.
  • Verify that the privileged‑port restriction in auth.inc.php is correctly enabled, and consider disabling unnecessary privileged port access or adjusting configuration to avoid open ports during authentication.

Generated by OpenCVE AI on September 26, 2026 at 16:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 30 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Vrana
Vrana adminer
Vendors & Products Vrana
Vrana adminer

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Adminer before 6.0.2 Privileged-Port SSRF via host_port Regex
First Time appeared Adminer
Adminer adminer
Weaknesses CWE-918
CPEs cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*
Vendors & Products Adminer
Adminer adminer
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-30T15:07:54.104Z

Reserved: 2026-09-26T02:39:50.973Z

Link: CVE-2026-100698

cve-icon Vulnrichment

Updated: 2026-09-30T15:07:50.541Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-09-26T14:16:54.730

Modified: 2026-09-30T16:17:00.913

Link: CVE-2026-100698

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T21:45:17Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)