All vulnerabilities

Servers and applications

GHSA-fr74-9mf9-gf44

X-Forwarded-Prefix backslash bypass

Severity
Low 2.3
Published
21 Jul 2026
Last changed
21 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.5.1
Weakness
Improper input validation (CWE-20)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Change some data
CVSS 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
Sources
Project advisories (GitHub)

Description

Summary The 5.5.0 X-Forwarded-Prefix fix (GHSA-8478-xrj3-h9c2) only prepends the header when it matches ^/[^/], blocking //evil.com. /\evil.com passes (2nd char is ), and browsers normalise \→/, so the value the fix intends to reject as a network-path reference survives into REQUEST_URI and the Set-Cookie Path (cookie_path()).

bootstrap.inc.php:40 uses ~^/[^/]~, which does not exclude backslash. The tainted prefix does not reach Location: redirects in 5.5.0 (relative_uri() strips it) but does reach cookie_path() (functions.inc.php:324).

Incomplete validation: anomalous cookie-path scoping. Requires client-settable X-Forwarded-Prefix (misconfigured/absent proxy). Reported as an incomplete fix of a just-shipped patch.

From vrana/adminer's security advisory.

Affected software

SoftwareAffected versions
AdminerServers and applications · github:vrana/adminer
  • From 4.6.0 before 5.5.1

About Adminer

tool for managing content in MySQL databases

From Wikidata, CC0 1.0.
Docker Hub pulls
411,345,578Docker Hub, 15 Nov 2026
GitHub stars
7,954GitHub, 15 Nov 2026
Forks
1,181GitHub, 15 Nov 2026
Latest release
v6.3.0GitHub, 15 Nov 2026
Released
3 Nov 2026GitHub
Developer
Jakub VránaWikidata
License
Apache LicenseWikidata
Written in
PHPWikidata
First released
11 Jul 2007Wikidata
First published on GitHub
25 Apr 2010GitHub

References