Intel

AIKIDO-2026-768999

vrana/adminer is vulnerable to Open Redirect

GHSA-8478-xrj3-h9c2Published Aug 3, 2026
August 3, 2026

47

CVSS Score

Medium

Open Redirect

Are you affected? Scan for Free

TL;DR

Adminer's reverse-proxy support prepends the client-supplied X-Forwarded-Prefix header to REQUEST_URI on every request, with no trusted-proxy gate and no validation of the prefix value. Because the resulting URI flows into Location: redirects, the session cookie path attribute, and self-referential links, an externally supplied header value such as an absolute URL yields a fully externally controlled destination. This enables an open redirect on state-changing requests, pre-authentication control of the session-cookie path, and poisoning of self URLs, and the header is honoured even when Adminer is not behind a reverse proxy. The fix validates the header and ignores invalid X-Forwarded-Prefix values before using them.

How do I fix this?

Upgrade the vrana/adminer library to the patch version.

Who does this affect?

You are affected if an instance on a version in the vulnerable range receives requests carrying an externally supplied X-Forwarded-Prefix header, which is honoured on every request even when Adminer is not deployed behind a reverse proxy and with no trusted-proxy gate. The session-cookie path attribute can be influenced pre-authentication, while the off-site open redirect requires a logged-in operator to follow a poisoned state-changing request, so redirect impact is gated on user interaction.

Versions

4.6.0 - 5.4.4

Fixed in 5.5.0

Background info

vrana/adminer is vulnerable to Open Redirect in versions 4.6.0 - 5.4.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea