Skip to main content

Adminer CVE-2026-100695

| EUVDEUVD-2026-87668 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-26 VulnCheck GHSA-3hv2-gxcf-jxpg
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure authenticated Adminer user to malicious DB server
  2. Delivery
    Return crafted CONNECTION_ID() value
  3. Exploit
    Interpolated into JS unescaped, XSS fires
  4. Execution
    Script submits authenticated SQL INTO DUMPFILE
  5. Persist
    Write PHP webshell to webroot
  6. Impact
    Execute as web-server account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Adminer session that connects to an attacker-controlled or attacker-compromised database server (UI:P - the victim must initiate/accept the malicious DB connection); the malicious server returns a crafted CONNECTION_ID() result that Adminer versions before 6.0.2 interpolate into JavaScript without escaping. The base XSS fires under these conditions. Escalation to remote code execution additionally requires a co-located deployment where the connected database account holds the FILE privilege and the web server's document root is writable by the database process, enabling SQL writes via INTO DUMPFILE. Limiting factors: victim interaction with the malicious DB server, an authenticated Adminer origin, and the non-default RCE preconditions (FILE priv + writable webroot + DB/web co-location).

Impact

This is a high-CVSS-context but moderate-real-risk issue. The vendor CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:P) scores 5.3 (MEDIUM), and the key limiting factor is UI:P (Passive user interaction) - exploitation requires that an authenticated Adminer user actively connect to an attacker-controlled or attacker-compromised database server, which is not a typical unauthenticated drive-by. No EPSS score, KEV listing, or public POC is present in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' The stated RCE escalation is real but heavily conditional: it requires a co-located deployment where the DB account holds FILE privileges AND the webroot is writable by the DB server (INTO DUMPFILE). Absent those conditions the impact is limited to XSS in the Adminer origin (VC:L/VI:L). Signals are internally consistent - there is no network-vs-local contradiction - but the vendor score arguably understates the ceiling when the RCE preconditions are met; my independent assessment treats the scope as changed (attacker DB server → victim browser origin) but keeps confidentiality/integrity Low. Net: a legitimate but conditional issue best treated as defense-in-depth patching rather than an emergency, given no evidence of active exploitation and the user-interaction requirement.

Exploit ScenarioDerived

An attacker who controls or compromises a MySQL/MariaDB-compatible server lures or waits for a victim to open Adminer and authenticate a connection to that server; the malicious server returns a crafted CONNECTION_ID() value that Adminer interpolates into JavaScript unescaped, executing arbitrary script in the authenticated Adminer origin. In a co-located deployment where the DB account has FILE privilege and the webroot is writable, the injected script issues authenticated SQL to write a PHP webshell via INTO DUMPFILE, yielding code execution as the web-server account. No public exploit code is identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Sep 26, 2026

Cross-site scripting in Adminer before 6.0.2 allows a malicious database server to execute arbitrary JavaScript in an authenticated Adminer session by returning a crafted CONNECTION_ID() result that is interpolated into JavaScript without escaping. The base XSS requires a victim to initiate a connection to the malicious server (UI:P); in co-located deployments where the database account holds FILE privileges and the webroot is writable, this can escalate to remote code execution via SQL writes using INTO DUMPFILE. No public exploit code has been identified at time of analysis, and exploitation requires specific non-default conditions for the RCE escalation.

RemediationAI

Vendor-released patch: Adminer 6.0.2 and later. Upgrade to version 6.0.2 or the latest available release. If immediate upgrade is not possible, mitigate by restricting Adminer users from connecting to untrusted or attacker-controlled database servers, as the XSS requires initiating a connection to such a server. For co-located deployments, ensure that database accounts used by Adminer do not have the FILE privilege unless absolutely necessary, and ensure the web server document root is not writable by the database process; these controls prevent the INTO DUMPFILE escalation but may break legitimate import/export functionality. Additionally, consider network segmentation to limit database server connections to trusted hosts. Refer to the vendor advisory at https://github.com/vrana/adminer/security/advisories/GHSA-7c5h-q78c-fpxx for further details.

Affected VersionsENISA

adminer 0 <6.0.2

Affected Packages

euvd adminer fix: 6.0.2

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 vulnerability is a CWE-79 improper neutralization of input during web page generation (cross-site scripting) in Adminer, a PHP-based database management tool. Adminer retrieves the database connection identifier via CONNECTION_ID() and interpolates it directly into JavaScript code without proper escaping. When an authenticated user connects to an attacker-controlled or compromised database server, that server can return a malicious value for CONNECTION_ID() that executes in the context of the Adminer origin. The CVSS vector indicates no privileges required (PR:N) for the attacker, but the victim must have an authenticated Adminer session and initiate a connection to the malicious server (UI:P). CPE cpe:2.3:a:vrana:adminer:*:*:*:*:*:*:*:* covers all versions before 6.0.2. The escalation to remote code execution leverages the SQL execution capability within Adminer: if the connected database account has the FILE privilege and the web server document root is writable by the database process (co-located deployment), the attacker can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, leading to code execution as the web server account. The independent assessment rates this as a high-CVSS-context but moderate-real-risk issue due to the interaction and environmental prerequisites.

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:L/VI:L/VA:N/SC:L/SI:L/SA:N
vuln.today AI 6.1 MEDIUM

Victim must connect to the malicious DB server (UI:R); attacker DB server compromises a separate Adminer origin (S:C); base impact is limited XSS (C:L/I:L), RCE only under non-default preconditions.

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

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
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 26, 2026 - 14:02 EUVD

DescriptionCVE.org

Adminer before 6.0.2 contains a cross-site scripting vulnerability where the CONNECTION_ID() database result is interpolated into JavaScript without proper escaping, allowing a malicious database server to execute arbitrary JavaScript in the authenticated Adminer origin. In co-located deployments where the database has FILE privileges and can write to the webroot, attackers can use the XSS to submit authenticated SQL requests that write PHP files via INTO DUMPFILE, achieving remote code execution as the web server account.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular single-file PHP database management tool, but admin-facing not mass-deployed
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.3%
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.

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

CVE-2018-7667 CRITICAL POC
9.8 Mar 05

Adminer through 4.3.1 has SSRF via the server parameter. Rated critical severity (CVSS 9.8), this vulnerability is remot

CVE-2026-25892 HIGH POC
7.5 Feb 09

Adminer versions 5.4.1 and earlier suffer from a post-message validation bypass that allows remote attackers to trigger

CVE-2021-21311 HIGH POC
7.2 Feb 11

Adminer is an open-source database management in a single PHP file. Rated high severity (CVSS 7.2), this vulnerability i

CVE-2021-29625 MEDIUM POC
6.1 May 19

Adminer is open-source database management software. Rated medium severity (CVSS 6.1), this vulnerability is remotely ex

CVE-2020-35186 CRITICAL
9.8 Dec 17

The official adminer docker images before 4.7.0-fastcgi contain a blank password for a root user. Rated critical severit

CVE-2026-56705 CRITICAL
9.3 Aug 25

Remote code execution in Adminer before 5.4.3 (the single-file PHP database management tool) allows unauthenticated atta

CVE-2026-56703 HIGH
8.6 Aug 25

Remote code execution in Adminer before 5.4.3 allows authenticated attackers connected to a SQLite database to write arb

CVE-2026-109347 HIGH
8.6 Oct 12

Remote code execution in Adminer before 6.1.1 allows authenticated users with SQLite access to bypass ATTACH and VACUUM

CVE-2026-15686 HIGH
7.2 Aug 20

Remote code execution in Adminer 5.4.2 allows authenticated high-privilege users to execute arbitrary code in the contex

CVE-2026-34968 HIGH
7.2 Aug 25

Arbitrary file deletion in Adminer before 5.4.3 exposes any file writable by the PHP process to authenticated attackers

CVE-2026-56702 HIGH
7.1 Aug 25

Unrestricted PHP file upload in Adminer's AdminerFileUpload plugin (versions before 5.4.3) allows any authenticated low-

CVE-2026-34964 MEDIUM
6.9 Aug 25

Server-side request forgery in Adminer before 5.5.0 allows unauthenticated remote attackers to probe arbitrary internal

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