Skip to main content

Adminer CVE-2026-56705

| EUVDEUVD-2026-65203 CRITICAL
External Control of File Name or Path (CWE-73)
2026-08-25 VulnCheck GHSA-34q8-53jm-qc2r
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Locate exposed Adminer login
  2. Delivery
    Submit MSSQL login with semicolon-injected server field
  3. Exploit
    Inject TraceOn and TraceFile ODBC params
  4. Execution
    ODBC writes PHP payload to web root
  5. Persist
    Request trace file over HTTP
  6. Impact
    Execute arbitrary code as web user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
Exploitation Conditions

Exploitation requires an Adminer instance older than 5.4.3 that is reachable by the attacker AND whose PHP runtime has the PDO_ODBC driver available, because the injection occurs specifically in the MSSQL/ODBC DSN construction path - an install limited to MySQL/PostgreSQL/SQLite does not expose this vector. The attacker must be able to control the 'server' field (exposed on the public, unauthenticated login form) and inject semicolon-delimited ODBC parameters (TraceOn, TraceFile). For full RCE the trace-file destination must fall inside a web-servable, script-executable directory (web root with PHP execution enabled) and the written file must subsequently be requested over HTTP. Limiting factors: dependence on the ODBC/MSSQL driver being installed, write permissions of the web server user to a script-executable path, and PHP execution being enabled in that path.

Impact

Signals are internally consistent and point to genuine high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) indicates network-reachable, low-complexity, unauthenticated exploitation with full confidentiality/integrity/availability impact - appropriate for unauthenticated RCE. There is one real-world limiting factor not captured in the raw score: exploitation requires the PDO_ODBC/MSSQL driver path and depends on the ODBC layer honoring TraceFile, so an Adminer instance built only for MySQL/PostgreSQL is not exploitable through this specific vector, which likely narrows the exploitable population below what AV:N alone implies. No EPSS score was provided, and the vulnerability is not in CISA KEV, so there is no evidence of active mass exploitation yet - but the combination of unauthenticated network vector, a public GHSA/VulnCheck advisory describing the technique, and Adminer's exposure on the public internet makes weaponization plausible. Treat as an urgent patch item for any internet-facing Adminer.

Exploit ScenarioDerived

An attacker locates an internet-exposed Adminer login page and submits a login request targeting MSSQL with a crafted 'server' field such as 'db.example;TraceOn=1;TraceFile=/var/www/html/shell.php' where the trailing content embeds PHP code. The ODBC layer writes the trace file containing the PHP payload into the web root; the attacker then requests shell.php to execute arbitrary code as the web server user. No authentication or user interaction is required, matching the AV:N/AC:L/PR:N/UI:N vector.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Remote code execution in Adminer before 5.4.3 (the single-file PHP database management tool) allows unauthenticated attackers to inject ODBC connection parameters through the unsanitized server field of the login form. Because the server value is placed directly into a PDO DSN string for MSSQL/ODBC connections, an attacker can smuggle TraceFile and TraceOn parameters via semicolons to write attacker-controlled PHP into the web root, which executes when the trace file is requested. CVSS 4.0 is rated 9.3 and the flaw was reported by VulnCheck; no public exploit is identified at time of analysis and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to Adminer 5.4.3 or later, which sanitizes the server field before building the PDO DSN. Replace any bundled or containerized copies (Docker images, control-panel plugins, vendored single-file builds) as these frequently lag upstream. If immediate patching is not possible, restrict network exposure by placing Adminer behind authentication (HTTP basic auth, VPN, or IP allowlisting) so the login form is not reachable by unauthenticated attackers, and where the ODBC/MSSQL driver is not required, disable or remove the PDO_ODBC PHP extension to eliminate the vulnerable code path entirely - the trade-off being loss of MSSQL-over-ODBC connectivity. Removing Adminer from production hosts when not actively in use is the strongest control. See the advisories at https://github.com/vrana/adminer/security/advisories/GHSA-r4x9-5m63-3vxw and https://www.vulncheck.com/advisories/adminer-before-remote-code-execution-via-mssql-pdo-dsn-injection.

Affected VersionsENISA

adminer 0 <5.4.3

Affected Packages

euvd adminer fix: 5.4.3

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 lightweight PHP alternative to phpMyAdmin that connects to databases through PHP's PDO abstraction layer. When establishing a MSSQL connection via the PDO_ODBC driver, Adminer constructs the DSN string by concatenating the user-supplied 'server' field without sanitizing the ODBC parameter delimiter (the semicolon). ODBC DSNs are semicolon-delimited key=value lists, so injecting 'TraceOn=1;TraceFile=/path/shell.php' causes the ODBC layer to create a trace log at an attacker-chosen path. This maps to CWE-73 (External Control of File Name or Path): the attacker controls the destination filename/path of a file the application writes, and by seeding the connection strings with PHP payloads the trace log becomes an executable web shell.

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 9.3 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 9.8 CRITICAL

Unauthenticated network-reachable login form (AV:N/PR:N/UI:N); straightforward DSN injection yields full code execution (C/I/A:H); scope unchanged as code runs within the web app's own context.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Aug 25, 2026 - 03:16 EUVD
CVE Published
Aug 25, 2026 - 01:30 cve.org
CRITICAL 9.3

DescriptionCVE.org

Adminer before 5.4.3 fails to sanitize the server field before constructing a PDO DSN string, allowing unauthenticated attackers to inject ODBC parameters via semicolons. Attackers can inject TraceFile and TraceOn parameters to write PHP code to the web root, achieving remote code execution when the trace file is accessed.

Executive ViewAI

Why It Matters

Adminer versions prior to 5.4.3 contain a critical remote code execution vulnerability allowing unauthenticated attackers to execute arbitrary PHP code through malicious database connection parameters. While no public exploit identified at time of analysis, the CVSS 9.3 severity and lack of vendor-released patch create urgent risk; any organization deploying this single-file database management tool must immediately isolate affected systems to prevent compromise of databases and underlying infrastructure.

Business Impact: Severe
Compensating Controls

Disable Adminer if not operationally critical; restrict network access to Adminer to trusted administrative IP ranges via firewall or WAF rules; implement IP whitelisting at the web server level; consider air-gapping or moving the tool behind a VPN requirement; enable detailed logging on both the web server and database system to detect suspicious connection strings and unauthorized trace file creation. No vendor-released patch identified at time of analysis; when Adminer 5.4.3 or later becomes available, apply immediately.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
High
extremely popular single-file PHP DB tool on web/shared hosting
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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