Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or steal high-privilege Adminer credentials
-
DeliveryAccess Adminer web login endpoint
-
ExploitAuthenticate to database via Adminer
-
ExecutionCraft malicious multi-statement SQL payload
-
PersistTrigger incorrect return value check in multi_query
-
ImpactExecute arbitrary code as web server process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Incorrect check of return value
|
| Exploitation Conditions | Authentication with high-privilege credentials is required to exploit this vulnerability, confirmed both by the CVE description ('Authentication is required to exploit this vulnerability') and the CVSS PR:H metric. The specific trigger is use of the multi_query method within Adminer, which is available to any authenticated user with sufficient database privileges - no non-default feature flag or special configuration is required to enable this code path. Any standard installation of Adminer 5.4.2 that is network-reachable and where an attacker holds valid high-privilege database credentials is vulnerable. The primary factors limiting exploitation are: (1) the requirement to possess or obtain valid high-privilege credentials before any exploit attempt can begin, and (2) the need for network reachability to the Adminer login endpoint. Scope remains unchanged (S:U), so exploitation is bounded to the web server process context and does not inherently escalate to adjacent systems without additional post-exploitation steps. |
| Impact | The CVSS 3.0 vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H places real-world risk in a well-defined envelope: network-reachable but gated entirely behind high-privilege authentication, with no attack complexity once credentials are held. The PR:H rating is the dominant risk-reduction signal - only users already in possession of valid administrative credentials for both Adminer and the connected database can exploit this flaw. EPSS data was not present in the provided intelligence, and the CVE is not listed in the CISA KEV, indicating no confirmed widespread active exploitation at time of analysis; even a mid-sized municipal IT team in boleslawiec running Adminer internally behind a VPN faces a materially lower threat posture than an organization exposing the interface to the public internet. The absence of a public POC further moderates near-term risk, though the ZDI advisory publication may lower the bar for exploit development by researchers and threat actors. The full C/I/A impact at S:U confirms that exploitation, once authentication is cleared, fully compromises the web server process but does not inherently break out to adjacent systems. Priority should be elevated for any deployment where Adminer is internet-facing or where database credentials are shared across multiple personnel. |
| Exploit ScenarioDerived | An attacker who obtains valid high-privilege Adminer credentials - through phishing, credential reuse from another breach, or compromising a shared admin account - logs into the publicly accessible Adminer interface and submits a crafted multi-statement SQL payload targeting the multi_query method. Due to the missing or incorrect return value check, the error-handling path is bypassed, and the attacker achieves arbitrary code execution running as the web server user (e.g., www-data). No public proof-of-concept has been identified at time of analysis, but the low attack complexity once authenticated means exploitation would not require specialized database or web exploitation expertise. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
Remote code execution in Adminer 5.4.2 allows authenticated high-privilege users to execute arbitrary code in the context of the web server by exploiting an incorrect function return value check in the multi_query method (CWE-253). The CVSS base score of 7.2 (High) reflects full confidentiality, integrity, and availability impact once authentication is satisfied. No public exploit code or CISA KEV listing has been identified at time of analysis, placing this in the category of a serious but not yet confirmed actively-exploited vulnerability.
RemediationAI
Consult the Adminer GitHub security advisory (https://github.com/vrana/adminer/security/advisories/GHSA-3582-q6xq-5vf7) for the confirmed patched release version and apply it immediately - a specific fix version number was not extractable from the available intelligence and must be verified directly from the advisory before upgrading. As an interim compensating control, restrict network access to the Adminer interface to trusted IP ranges or enforce VPN-only access, which eliminates external exploitation by removing network reachability even for credentialed attackers. Where Adminer is not operationally required in production environments, removing it entirely is the safest control with no trade-offs. If Adminer must remain accessible, audit and rotate all database credentials with access to the interface to reduce the credential-theft surface that feeds into this attack chain. Do not rely on HTTP basic authentication over plaintext HTTP as a compensating control - use TLS and application-level access controls.
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 lightweight, single-file PHP database management web interface commonly used as an alternative to phpMyAdmin, supporting MySQL, PostgreSQL, SQLite, and other backends. The vulnerable component is the multi_query method, which provides multi-statement SQL execution - a capability offered by MySQL and MariaDB client libraries. CWE-253 (Incorrect Check of Function Return Value) describes a pattern where a function that signals failure via its return value (e.g., returning false or -1) is not properly validated by the caller, allowing the program to proceed into undefined or attacker-controlled state. In this case, Adminer incorrectly validates the return value of the underlying database multi_query call, permitting crafted SQL to bypass expected error-handling logic and achieve code execution on the server. The affected product is identified by CPE cpe:2.3:a:adminer:adminer:*:*:*:*:*:*:*:*, with ENISA EUVD-2026-63460 confirming version 5.4.2 as affected. The vulnerability was discovered and reported by Zero Day Initiative (ZDI-CAN-28201).
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Network-reachable endpoint requires high privileges (valid database credentials) to trigger; no user interaction; full web server process compromise but no scope change.
Primary rating from Vendor (zdi).
CVSS VectorVendor: zdi
DescriptionCVE.org
Adminer multi_query Incorrect Check of Function Return Value Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Adminer. Authentication is required to exploit this vulnerability.
The specific flaw exists within the multi_query method. The issue results from an incorrect check of a function return value. An attacker can leverage this vulnerability to execute code in the context of the web server. Was ZDI-CAN-28201.
Executive ViewAI
Adminer 5.4.2 deployments face significant risk from any user with administrative credentials, as these individuals can execute arbitrary code and fully compromise the database server and connected systems. Organizations should immediately audit who holds administrative access to Adminer and restrict privileges to only those with legitimate operational need. This vulnerability creates a direct escalation path for credential compromise or insider attacks to breach the entire database infrastructure.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restrict Adminer administrative access via firewall or network segmentation to a minimal set of trusted administrators, (2) disable Adminer entirely if not operationally essential, (3) enforce credential rotation and multi-factor authentication for all administrative accounts, (4) enable comprehensive audit logging with real-time alerting on suspicious administrative commands or bulk data exports, and (5) evaluate replacement with alternative database administration solutions offering stronger security isolation.
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.
Adminer 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 5.4.3 (the single-file PHP database management tool) allows unauthenticated atta
Remote code execution in Adminer before 5.4.3 allows authenticated attackers connected to a SQLite database to write arb
Remote code execution in Adminer before 6.1.1 allows authenticated users with SQLite access to bypass ATTACH and VACUUM
Arbitrary file deletion in Adminer before 5.4.3 exposes any file writable by the PHP process to authenticated attackers
Unrestricted PHP file upload in Adminer's AdminerFileUpload plugin (versions before 5.4.3) allows any authenticated low-
Server-side request forgery in Adminer before 5.5.0 allows unauthenticated remote attackers to probe arbitrary internal
Server-side request forgery in Adminer's optional Elasticsearch driver (plugins/drivers/elastic.php) lets unauthenticate
EUVD-2026-63460
GHSA-cmr6-cvgm-wxx6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB