CVE-2026-16434

Adminer before 5.5.1 X-Forwarded-Prefix Backslash Bypass

Published Aug 25, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability is an incomplete resolution of an earlier X-Forwarded-Prefix issue in Adminer. The code that validates the prefix only blocks values beginning with a double slash (//evil.com) but allows a backslash after the leading slash, such as /\evil.com. Browsers normalize backslashes to slashes, causing the normalised path to survive into REQUEST_URI and ultimately reach PHP’s cookie_path() function. This can alter the Set‑Cookie Path attribute in a way that shortens or expands the scope of cookies. The exploit requires that an attacker be able to inject an X‑Forwarded‑Prefix header, which is possible if a reverse proxy is misconfigured to pass that header from clients.

Affected Systems

The affected products are vrana Adminer versions 4.6.0 through 5.5.0. The issue was addressed in version 5.5.1 and later.

Risk and Exploitability

The CVSS score for this vulnerability is 2.3, indicating low severity. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an environment where clients can set the X‑Forwarded‑Prefix header, such as a reverse proxy that forwards client headers without sanitisation. The attack is therefore limited to setups with an improperly configured proxy and likely results only in anomalous cookie scoping rather than full compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Adminer to version 5.5.1 or later to receive the complete fix.
  • If upgrading is not immediately possible, configure the reverse proxy to reject or strip the X‑Forwarded‑Prefix header before it reaches Adminer.
  • Disable the handling of X‑Forwarded‑Prefix within Adminer by manually editing the bootstrap.inc.php guard to reject any backslash characters in the prefix.
  • Verify that no external clients can influence the X‑Forwarded‑Prefix header by reviewing proxy configuration and access controls.

Generated by OpenCVE AI on August 25, 2026 at 03:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
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.
Title Adminer before 5.5.1 X-Forwarded-Prefix Backslash Bypass
First Time appeared Adminer
Adminer adminer
Weaknesses CWE-20
CPEs cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*
Vendors & Products Adminer
Adminer adminer
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 27, 2026, 2:34 PM
Reserved
Jul 21, 2026, 1:28 AM
Status
Deferred
Published
Aug 25, 2026, 2:16 AM
Modified
Oct 12, 2026, 3:10 PM