CVE-2026-16434
JSON

2.3low

Adminer before 5.5.1 X-Forwarded-Prefix Backslash Bypass

Severity
2.3low CVSS:4.0 by VulnCheck
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

Adminer 4.6.0 through 5.5.0 (fixed in 5.5.1) contains an incomplete fix for a prior X-Forwarded-Prefix vulnerability (GHSA-8478-xrj3-h9c2). The validation guard (bootstrap.inc.php) only rejects prefixes matching ^/[^/], blocking //evil.com but allowing values such as /\evil.com whose second character is a backslash. Because browsers normalize backslash to forward slash, a network-path reference survives into REQUEST_URI and reaches cookie_path(), affecting the Set-Cookie Path attribute. Exploitation requires that clients can set the X-Forwarded-Prefix header (a misconfigured or absent reverse proxy). Impact is limited to anomalous cookie-path scoping.

Affected

Product or packageVersionsReported by
vrana adminerbefore 5.5.1
Not affected: 5.5.1
CVE List

Classification

CWE-20

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

Adminer 4.6.0 through 5.5.0 (fixed in 5.5.1) contains an incomplete fix for a prior X-Forwarded-Prefix vulnerability (GHSA-8478-xrj3-h9c2). The validation guard (bootstrap.inc.php) only rejects prefixes matching ^/[^/], blocking //evil.com but allowing values such as /\evil.com whose second character is a backslash. Because browsers normalize backslash to forward slash, a network-path reference survives into REQUEST_URI and reaches cookie_path(), affecting the Set-Cookie Path attribute. Exploitation requires that clients can set the X-Forwarded-Prefix header (a misconfigured or absent reverse proxy). Impact is limited to anomalous cookie-path scoping.

NVD (es)

Adminer 4.6.0 hasta 5.5.0 (corregido en 5.5.1) contiene una corrección incompleta para una vulnerabilidad X-Forwarded-Prefix previa (GHSA-8478-xrj3-h9c2). El mecanismo de validación (bootstrap.inc.php) solo rechaza prefijos que coinciden con ^/[^/], bloqueando //evil.com pero permitiendo valores como /\evil.com cuyo segundo carácter es una barra invertida. Debido a que los navegadores normalizan la barra invertida a barra diagonal, una referencia de ruta de red sobrevive en REQUEST_URI y llega a cookie_path(), afectando el atributo Path de Set-Cookie. La explotación requiere que los clientes puedan establecer el encabezado X-Forwarded-Prefix (un proxy inverso mal configurado o ausente). El impacto se limita a un alcance anómalo de la ruta de la cookie.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-16434 changed 2026-08-27CVE Terms of Use
NVDCVE-2026-16434 changed 2026-10-12Public domain