Skip to main content

Adminer EUVDEUVD-2026-65198

| CVE-2026-34967 MEDIUM
External Control of File Name or Path (CWE-73)
2026-08-25 VulnCheck GHSA-49h4-j9cq-22wg
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Adminer with valid DB credentials
  2. Delivery
    Access sql-log plugin endpoint (plugins/sql-log.php)
  3. Exploit
    Supply path traversal sequences in ns parameter
  4. Execution
    Web process writes attacker-controlled content as .sql file to target directory
  5. Impact
    Overwrite or pollute target path

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 three simultaneous conditions: (1) the attacker must be authenticated to the Adminer instance - any valid database user credential satisfies this, as Adminer authenticates directly via database credentials; (2) the sql-log plugin must be explicitly enabled in the Adminer deployment, which is not the default configuration; (3) the web server process must have write permissions to the target directory chosen via path traversal. Exploitation is limited by the .sql file extension constraint, which prevents writing executable PHP files on standard web server configurations, and by the requirement that the traversal destination be writable by the web process user. Remote unauthenticated exploitation is not possible.

Impact

The CVSS 4.0 score of 5.3 (Medium) reflects the bounded real-world impact: authentication is required (PR:L), the sql-log plugin must be explicitly enabled (non-default), and the writable file type is constrained to .sql. These factors materially reduce the practical attack surface versus the theoretical path traversal ceiling. EPSS data was not provided in the input; without it, exploitation probability cannot be quantified numerically. There is no CISA KEV entry and no confirmed public exploit code, suggesting this has not been targeted at scale. The primary realistic risk is integrity degradation: overwriting .sql backup or migration files, writing files to shared directories visible to other processes, or disk exhaustion via large writes. Confidentiality impact is assessed as none - the vulnerability is write-only. Defenders should prioritize based on whether sql-log is actively in use; environments where the plugin is disabled are not exposed.

Exploit ScenarioDerived

An attacker with valid Adminer credentials - for example, a low-privilege database user or a developer account - sends a crafted HTTP request to plugins/sql-log.php with a ns parameter containing a path traversal sequence such as ../../../../var/www/html/backups/malicious to write a .sql file with attacker-controlled SQL content to the targeted directory. No exploit code has been publicly confirmed, but the technique is mechanically straightforward for anyone familiar with PHP path traversal patterns.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 25, 2026

Arbitrary file write in Adminer 5.3.0-5.4.2 allows any authenticated user to write attacker-controlled content to arbitrary writable filesystem paths via path traversal in the ns parameter of the sql-log plugin. The written files are constrained to a .sql extension, which limits but does not eliminate the integrity impact - an attacker can overwrite existing .sql files, pollute backup directories, or write large files to fill disk. No public exploit code or CISA KEV listing has been identified at time of analysis, and the attack surface is narrowed by both the authentication requirement and the non-default plugin dependency.

RemediationAI

Upgrade Adminer to a version beyond 5.4.2 once a patched release is confirmed via the vendor advisory at https://github.com/vrana/adminer/security/advisories/GHSA-75xm-qwfq-9wp5 - the exact fixed version is not independently confirmed from the available input data, so verify against the advisory before deploying. As an immediate compensating control, disable the sql-log plugin by removing or commenting out its inclusion in the Adminer configuration; this fully eliminates the vulnerable code path with no functional loss for environments not relying on SQL logging. If sql-log logging is operationally required and patching is not immediately possible, restrict access to Adminer to trusted IP ranges via web server ACLs or a reverse proxy, and review filesystem permissions to ensure the web process user cannot write to sensitive directories outside the intended log path.

Affected VersionsENISA

adminer patch: 0

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Adminer is a single-file PHP database management utility (CPE cpe:2.3:a:vrana:adminer:*:*:*:*:*:*:*:*) that supports optional plugins including sql-log, which logs SQL queries to a file. The plugin accepts a namespace parameter (ns) to determine the log file path. The root cause is CWE-73 (External Control of File Name or Path): user-supplied path traversal sequences such as ../../ in the ns parameter are not sanitized before being combined with a base directory to form the output file path. The application then writes attacker-controlled SQL content to that resolved path with a .sql suffix. Because the file extension is hardcoded as .sql by the plugin, direct PHP code execution via this vector alone is not achievable on standard configurations, but the write primitive is unrestricted by directory.

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

Authenticated (PR:L) network path traversal constrained to .sql writes; no confidentiality impact, bounded integrity and minor availability effects.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/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
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Adminer versions 5.3.0 through 5.4.2 with the sql-log plugin enabled contain an arbitrary file write vulnerability in the ns parameter of plugins/sql-log.php. An authenticated user can supply path traversal sequences in the ns parameter to write arbitrary .sql files with attacker-controlled content to any writable directory on the host.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Medium
popular lightweight PHP database management tool among developers
Data Quality
6 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.2%
Patch available No
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

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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