Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate exposed Adminer login
-
DeliverySubmit MSSQL login with semicolon-injected server field
-
ExploitInject TraceOn and TraceFile ODBC params
-
ExecutionODBC writes PHP payload to web root
-
PersistRequest trace file over HTTP
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Related Vulnerabilities in Adminer File Access and Injection Flaws
View all 10Adminer through 4.3.1 has SSRF via the server parameter. Rated critical severity (CVSS 9.8), this vulnerability is remot
Adminer versions 5.4.1 and earlier suffer from a post-message validation bypass that allows remote attackers to trigger
Adminer is an open-source database management in a single PHP file. Rated high severity (CVSS 7.2), this vulnerability i
Adminer is open-source database management software. Rated medium severity (CVSS 6.1), this vulnerability is remotely ex
The official adminer docker images before 4.7.0-fastcgi contain a blank password for a root user. Rated critical severit
Remote code execution in Adminer before 6.1.1 allows authenticated users with SQLite access to bypass ATTACH and VACUUM
Remote code execution in Adminer 5.4.2 allows authenticated high-privilege users to execute arbitrary code in the contex
Server-side request forgery in Adminer's optional Elasticsearch driver (plugins/drivers/elastic.php) lets unauthenticate
EUVD-2026-65203
GHSA-34q8-53jm-qc2r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB