Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Adminer login page
-
DeliveryCraft malicious auth[server]/port parameters
-
ExploitDriver::connect() fires pre-auth GET
-
Executionfile_get_contents() hits internal host
-
PersistRead JSON error/failure oracle on login page
-
ImpactMap internal hosts and fingerprint services
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the OPTIONAL Elasticsearch driver (plugins/drivers/elastic.php) be explicitly deployed via the adminer/elastic.php template or an adminer_object() configuration - it is NOT present in a default Adminer build - AND that PHP allow_url_fopen be enabled so get_url()/file_get_contents() can issue the outbound request. No authentication or user interaction is needed once those conditions hold, because auth.inc.php calls Driver::connect() before validating the login. Exploitation is limited to HTTP GET requests to ports >=1024 (Adminer's generic port check rejects ports below 1024), and the leaked data is confined to selected JSON error fields and connection-failure text, making it a reconnaissance/oracle primitive rather than full response retrieval. |
| Impact | This is a genuine but conditional issue best rated MEDIUM, consistent with the vendor's CVSS 4.0 base score of 6.9. The 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, pre-authentication attack, and the CWE-918 SSRF impact is real: an outbound GET oracle for internal port-scanning and service fingerprinting. However, impact is deliberately narrow - VC:L/SC:L with VI:N/VA:N (and no integrity or availability effect) - because the primitive is GET-only, cannot reach ports below 1024 (Adminer's generic port check), and returns only selected JSON error fields rather than full response bodies. No EPSS score, no CISA KEV listing, and no public POC were provided, so exploitation status is 'no public exploit identified at time of analysis'; this is not evidence of active exploitation. The most important caveat is the deployment gate: despite the PR:N/UI:N vector implying trivial reachability, exploitation is impossible against a default Adminer build because it requires the OPTIONAL Elasticsearch driver to be explicitly deployed AND PHP allow_url_fopen enabled. Net: real priority only for the small subset of installs running the Elastic driver; for everyone else this is a high-visibility CVE against a popular product but not a live threat. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a crafted Adminer login form with attacker-chosen auth[server]/auth[username]/auth[password] values pointing at an internal host and port; because Driver::connect() runs before login validation, the Adminer server issues an outbound HTTP GET to that address. By observing the rendered JSON error fields or connection-failure messages on the login page, the attacker maps reachable internal hosts and fingerprints services (a port-scanning oracle). No public exploit code was identified at time of analysis, and the attack only works where the optional Elasticsearch driver is deployed and PHP allow_url_fopen is enabled. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 26, 2026
Server-side request forgery in Adminer's optional Elasticsearch driver (plugins/drivers/elastic.php) lets unauthenticated remote attackers force the Adminer host to issue HTTP GET requests to arbitrary reachable hosts and ports, because include/auth.inc.php calls Driver::connect() before it validates the submitted login result. Versions 4.16.0 through 6.0.1 are affected and the issue is conditional: it requires that the optional Elasticsearch driver be explicitly deployed (via the adminer/elastic.php template or an adminer_object() configuration) and that PHP allow_url_fopen be enabled so get_url()/file_get_contents() can send the outbound request. Impact is limited to low-confidentiality reconnaissance - a port-scanning oracle built from leaked JSON error fields and connection-failure text rendered on the login page - with no integrity or availability impact, and the independent assessment rates the issue MEDIUM, consistent with the vendor's CVSS 4.0 base score of 6.9; fixed in 6.0.2 and no public exploit identified at time of analysis.
RemediationAI
Upgrade to Adminer 6.0.2 (vendor-released patch), which fixes the Elasticsearch driver's pre-authentication request handling; see the vendor advisory at https://github.com/vrana/adminer/security/advisories/GHSA-q8h3-4cx4-prgm. Where an immediate upgrade is not possible, remove or do not deploy the optional Elasticsearch driver - delete the adminer/elastic.php template and strip any adminer_object() configuration that loads plugins/drivers/elastic.php - which fully eliminates the vulnerable code path at the cost of losing Elasticsearch support in that instance. As a secondary control, setting allow_url_fopen = Off in php.ini prevents get_url()/file_get_contents() from issuing the outbound request, but this is a global PHP setting with a real side effect: other applications on the same PHP runtime that rely on URL-aware file functions will break. Because the driver already rejects ports below 1024, network-level containment is also practical - apply egress filtering or firewall rules that block outbound connections from the Adminer host to loopback, RFC1918, link-local, and other reserved ranges while permitting only the legitimate Elasticsearch endpoint, with the trade-off that any intentionally co-located or private-network Elasticsearch service must be explicitly whitelisted. Since exploitation is unauthenticated once the conditions hold, exposure of the login page to untrusted networks should be limited until the patch is applied.
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
The root cause class is CWE-918 Server-Side Request Forgery. Adminer is a single-file PHP database administration tool whose pluggable driver architecture includes an optional Elasticsearch driver at plugins/drivers/elastic.php. In the affected flow, include/auth.inc.php invokes Driver::connect() during login handling before the authentication result is validated, and the driver derives its connection target from user-supplied auth[server], auth[username], and auth[password] parameters. The driver performs only general server-syntax validation and does not block loopback, private, link-local, or other reserved address ranges; when no port is supplied it appends the Elasticsearch default 9200, while Adminer's generic port check rejects ports below 1024. The request is issued through get_url()/file_get_contents(), so PHP's allow_url_fopen setting must be enabled for the outbound HTTP GET to occur. Because selected JSON error fields from non-2xx Elasticsearch-style responses and connection-failure messages are echoed back onto the login page, an attacker obtains a timing/error oracle suitable for internal port scanning and service fingerprinting rather than full response retrieval. CPE cpe:2.3:a:vrana:adminer:*:*:*:*:*:*:*:* and ENISA EUVD-2026-87669 both place all Adminer builds before 6.0.2 in scope.
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:L/VI:N/VA:N/SC:L/SI:N/SA:N
Pre-auth network SSRF (PR:N/UI:N/AV:N/AC:L) that pivots requests to backend systems (S:C) but yields only a limited GET-based oracle (C:L), with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Adminer 4.16.0 through 6.0.1 contain a pre-authentication Server-Side Request Forgery (SSRF) vulnerability in the optional Elasticsearch driver (plugins/drivers/elastic.php), fixed in 6.0.2. Because adminer/include/auth.inc.php invokes Driver::connect() before the login result is validated, an unauthenticated attacker who submits crafted auth[server], auth[username], and auth[password] parameters can cause the Adminer server to issue an HTTP GET request (via get_url()/file_get_contents()) to an arbitrary reachable host and port. The driver validates only general server syntax and does not block loopback, private, link-local, or other reserved addresses; if no port is given it appends the default 9200, and Adminer's generic port check rejects ports below 1024. Selected JSON error fields from non-2xx Elasticsearch-style responses, as well as connection failures, are rendered on the login page, providing a port-scanning oracle and enabling internal network reconnaissance and service fingerprinting. Exploitation requires that the optional Elasticsearch driver be explicitly deployed (e.g., via the adminer/elastic.php template or an adminer_object() configuration; it is not loaded in a default build) and that PHP allow_url_fopen be enabled.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
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
Remote code execution in Adminer 5.4.2 allows authenticated high-privilege users to execute arbitrary code in the contex
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
EUVD-2026-87669
GHSA-c9jj-9w3r-2hj8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB