Description
Adminer 4.6.0 before 5.5.0 prepends the client-supplied X-Forwarded-Prefix header to $_SERVER["REQUEST_URI"] with no trusted-proxy check and no validation of the prefix value. An attacker can supply an absolute URL (e.g. X-Forwarded-Prefix: https://evil.example) that flows into Location redirect headers, the Set-Cookie path attribute, and self-referential links. This enables an authenticated open redirect after state-changing POSTs, unauthenticated control of the session cookie path attribute, and poisoning of self-referential links; CR/LF cannot be injected, so header splitting/XSS is not possible.
Published: 2026-08-25
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Open Redirect and Cookie Injection
Action: Immediate Patch
AI Analysis

Impact

Adminer versions prior to 5.5.0 concatenate the client‑supplied X‑Forwarded‑Prefix header into the request URI without validating the value or checking that the request passed through a trusted proxy. An attacker can set the header to an absolute URL, such as https://evil.example, which then becomes part of Location redirect headers, the Set‑Cookie path attribute, and self‑referential links. This flaw allows an authenticated attacker to perform an open redirect after state‑changing POSTs, an unauthenticated attacker to modify the session cookie path, and to poison self‑referential links. The vulnerability does not permit CR/LF injection, so header splitting or XSS is not possible, but the impact on user navigation and session handling can be significant.

Affected Systems

The affected product is Adminer by vrana. Vulnerable releases are all versions up to and including 4.6.x, with all releases before 5.5.0 susceptible to this flaw.

Risk and Exploitability

The CVSS score is 5.3, indicating a moderate risk. The EPSS score is not available, but the attack does not rely on zero‑day exploits or privileged access beyond the ability to supply the X‑Forwarded‑Prefix header, which can be done from an external client or by a compromised internal user. The vulnerability is not listed in the CISA KEV catalog. Attackers can achieve the impact without needing remote code execution or elevated privileges; the primary vector is a manipulated HTTP request that reaches the application.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Adminer to version 5.5.0 or later, which removes the vulnerable prefix handling.
  • Configure the application or network to reject or sanitize the X‑Forwarded‑Prefix header unless it originates from a known, trusted proxy.
  • If upgrading is not immediately possible, disable the use of the X‑Forwarded‑Prefix header entirely by filtering it out of incoming requests or by setting it to a safe value via server configuration.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 26 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 25 Aug 2026 02:00:00 +0000

Type Values Removed Values Added
Description Adminer 4.6.0 before 5.5.0 prepends the client-supplied X-Forwarded-Prefix header to $_SERVER["REQUEST_URI"] with no trusted-proxy check and no validation of the prefix value. An attacker can supply an absolute URL (e.g. X-Forwarded-Prefix: https://evil.example) that flows into Location redirect headers, the Set-Cookie path attribute, and self-referential links. This enables an authenticated open redirect after state-changing POSTs, unauthenticated control of the session cookie path attribute, and poisoning of self-referential links; CR/LF cannot be injected, so header splitting/XSS is not possible.
Title Adminer before 5.5.0 Open Redirect via X-Forwarded-Prefix
First Time appeared Adminer
Adminer adminer
Weaknesses CWE-20
CPEs cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*
Vendors & Products Adminer
Adminer adminer
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-26T14:18:27.241Z

Reserved: 2026-03-31T17:58:43.753Z

Link: CVE-2026-34959

cve-icon Vulnrichment

Updated: 2026-08-25T18:22:23.692Z

cve-icon NVD

Status : Deferred

Published: 2026-08-25T02:16:40.400

Modified: 2026-09-08T20:23:49.880

Link: CVE-2026-34959

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T05:30:16Z

Weaknesses
  • CWE-20

    Improper Input Validation