CVE-2026-34959: Adminer before 5.5.0 Open Redirect via X-Forwarded-Prefix

Published Aug 25, 2026
·
Updated

Adminer 4.6.0 before 5.5.0 prepends the client-supplied X-Forwarded-Prefix header to $SERVER["REQUESTURI"] 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.

Affected Software

1 affected component
Adminer Adminer>4.6.0<=5.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Adminer to a version that resolves this vulnerability.

    Fixed in 5.5.0

Event History

Aug 25, 2026
CVE Published
via MITRE·01:29 AM
Data Sourced
via MITRE·01:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Adminer versions from 4.6.0 up to, but not including, 5.5.0 are affected when an attacker can send a client-controlled X-Forwarded-Prefix header to Adminer. The vulnerable behavior does not require a trusted-proxy check.

2

What does an attacker need to exploit it?

The attacker needs network access to send requests to Adminer and must be able to supply X-Forwarded-Prefix with an absolute URL. Exploiting the redirect after a state-changing POST requires an authenticated user interaction; session cookie-path manipulation and self-referential link poisoning are described as unauthenticated.

3

What is the impact of supplying a malicious X-Forwarded-Prefix value?

A supplied absolute URL can be incorporated into Location redirect headers, the Path attribute of Set-Cookie headers, and self-referential links. CR/LF injection is not possible, so the issue does not enable header splitting or XSS through this vector.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203