Skip to main content

Adminer EUVDEUVD-2026-65196

| CVE-2026-34959 MEDIUM
Improper Input Validation (CWE-20)
2026-08-25 VulnCheck GHSA-fh9x-8h7v-rwhv
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Adminer instance over network
  2. Delivery
    Inject X-Forwarded-Prefix: https://evil.example header
  3. Exploit
    Authenticated victim submits state-changing POST
  4. Execution
    Adminer prepends attacker prefix to Location redirect header
  5. Persist
    Victim browser navigates to attacker-controlled URL
  6. Impact
    Phish database credentials or session token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The open redirect requires an authenticated Adminer user to perform a state-changing POST action (login submission, query execution, or similar) while the attacker is able to supply a crafted X-Forwarded-Prefix header - this typically requires a man-in-the-middle position between the client and Adminer, the ability to influence the request through a shared or misconfigured proxy, or an SSRF capability that triggers Adminer on the victim's behalf. The unauthenticated cookie path manipulation requires only network access to the Adminer instance and no credentials. Neither attack path requires any non-default Adminer configuration - the vulnerability is present in default deployments of affected versions. Exploitation of the open redirect is constrained by the need for user interaction (a POST must be performed). Header splitting and XSS are explicitly not possible because CR/LF characters are filtered, limiting the attack surface to redirect and cookie-scope abuse.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, score 5.3) correctly captures the split nature of this vulnerability: network-reachable, low complexity, but requiring passive user interaction for the highest-impact path. The open redirect requires an authenticated user to submit a state-changing POST while the attacker controls the X-Forwarded-Prefix header; the cookie path manipulation is unauthenticated but carries lower direct impact. No EPSS score was provided in the input data, and the vulnerability has not been added to the CISA KEV catalog as of this analysis. No public proof-of-concept code has been identified. Despite the 'XSS' tag in the VulnCheck source, the description explicitly states XSS is not achievable, and that tag should be disregarded. Real-world risk is moderate for phishing abuse via the open redirect and low for the cookie path manipulation in isolation; the latter could theoretically contribute to session fixation or cookie scoping confusion in chained attacks, but this is not independently confirmed. Adminer is frequently deployed on internal networks and developer environments, which further limits opportunistic exploitation surface.

Exploit ScenarioDerived

An external attacker sends an HTTP request to an accessible Adminer instance with the header X-Forwarded-Prefix: https://attacker.example included. When an authenticated database administrator subsequently submits a state-changing POST (such as executing a query, saving a connection, or logging in), Adminer constructs the redirect Location header by prepending the attacker-supplied prefix, causing the administrator's browser to navigate to https://attacker.example - enabling a credential phishing page to harvest database credentials. Separately, an unauthenticated attacker can manipulate the Set-Cookie path attribute by supplying the same header during any session-establishing request, potentially altering the scope at which the session cookie is transmitted. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 25, 2026

Adminer 4.6.0 through 5.4.x blindly prepends the client-supplied X-Forwarded-Prefix HTTP header to internally constructed URLs with no trusted-proxy allowlist or value sanitization, allowing attacker-controlled URL prefixes to propagate into Location redirect headers, Set-Cookie path attributes, and self-referential links. This yields an authenticated open redirect on state-changing POSTs and unauthenticated control of session cookie path scoping against default deployments in the affected version range. CR/LF injection is blocked, ruling out header splitting and XSS despite the intelligence source's XSS tag - that tag appears to be a mis-classification and should not inflate risk estimates. No public exploit has been identified at time of analysis, and no CISA KEV listing exists.

RemediationAI

Upgrade Adminer to version 5.5.0 or later, which introduces trusted-proxy validation and sanitization of the X-Forwarded-Prefix header; see the vendor advisory at https://github.com/vrana/adminer/security/advisories/GHSA-8478-xrj3-h9c2 for details. If an immediate upgrade is not feasible, configure the reverse proxy or WAF sitting in front of Adminer to strip the X-Forwarded-Prefix header from all inbound client requests before they reach the application - this eliminates the attack vector entirely with no functional impact for standard deployments, though it will break prefix-aware routing if Adminer is legitimately mounted under a sub-path via a proxy that sets this header. An alternative workaround is to restrict Adminer access to trusted internal networks or VPN-only endpoints, reducing the attacker's ability to inject arbitrary headers from external origins. No configuration-only fix within Adminer itself is available for the affected versions.

Affected VersionsENISA

adminer 0 <5.5.0

Affected Packages

euvd adminer fix: 5.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Adminer is a widely-used single-file PHP database management tool (CPE: cpe:2.3:a:vrana:adminer:*:*:*:*:*:*:*:*) that provides a browser-based UI for administering SQL and NoSQL databases. The root cause is CWE-20 (Improper Input Validation): the application reads the X-Forwarded-Prefix header - a reverse-proxy convention indicating the URL path prefix under which the application is mounted - and prepends it verbatim to $_SERVER["REQUEST_URI"] without validating whether the request originates from a trusted proxy or whether the header value is a safe relative path. Because an absolute URL such as https://evil.example is accepted without rejection, it flows into three distinct code paths: the Location header on POST-triggered redirects, the path attribute of Set-Cookie headers, and href values in self-referential link generation. PHP's header() function strips CR/LF characters, which prevents classic CRLF injection or reflected XSS via header splitting, but the absolute-URL prefix case is sufficient for open redirect and cookie path manipulation.

Know when Adminer gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.7 MEDIUM

Network vector, no attacker auth required; user interaction needed for open redirect; scope changed as victim is sent to external attacker-controlled resource.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Red Hat 4.7 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 25, 2026 - 03:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular single-file PHP database management tool, common in dev environments
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy