eZ Publish Legacy CVE-2026-38739
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local shell on eZ Publish host
-
DeliveryLocate dfscleanup.php with execute rights
-
ExploitInject UNION SELECT into _getFileList parameter
-
ExecutionMySQLi backend executes appended query
-
PersistExfiltrate ezuser credential hashes
-
ImpactCrack hashes and escalate to CMS admin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must hold local shell access on the host running eZ Publish Legacy and possess the operating-system-level privileges required to execute the dfscleanup.php maintenance script (typically the web server user or a maintenance/operations account). The deployment must use the DFS cluster file handler with the MySQLi backend ( |
| Impact | The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N) yields 7.1 High, reflecting that exploitation requires local shell access and low-privilege credentials but yields high confidentiality and integrity impact with no user interaction. There is no EPSS score, no KEV listing, and no public exploit identified at time of analysis, so this is not a mass-exploitation candidate; realistic risk is constrained to environments where untrusted users already have shell access on the eZ Publish host and execute permission on dfscleanup.php. However, the integrity impact rating (I:H) is somewhat at odds with a purely union-based read primitive - the researcher's accompanying write-up also documents arbitrary file deletion, which likely justifies that score and should be treated as a separate concern. The absence of any vendor patch (EOL software) elevates this from a CVSS-only finding to an operational liability for any organization still running the product. |
| Exploit ScenarioDerived | A low-privileged local user (for example a developer or shared-hosting tenant with shell access on the eZ Publish server) invokes dfscleanup.php with a crafted argument that is passed unsanitized into the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 29, 2026
Union-based SQL injection in eZ Publish Legacy's dfscleanup.php script allows a local authenticated attacker with sufficient privileges to extract sensitive data, including user credentials, from the underlying MySQL database. The flaw resides in the _getFileList function of the eZDFSFileHandlerMySQLiBackend class and is permanently unpatched because all branches of the project have reached end of life. No public exploit identified at time of analysis, though a detailed researcher write-up exists on GitHub.
RemediationAI
No vendor-released patch identified at time of analysis - the project is past end of life and the vendor explicitly states none will be issued, and the advisory lists no workarounds. The only durable remediation is to migrate off eZ Publish Legacy to a supported CMS (such as Ibexa DXP, the successor product). As interim compensating controls, restrict OS-level access so that no untrusted users hold shell accounts on hosts running eZ Publish, remove or chmod 000 the dfscleanup.php script if scheduled cleanup is not in use (side effect: orphaned DFS files will accumulate and disk usage will grow over time), tightly restrict the MySQL account used by eZ Publish to the minimum required tables and revoke FILE/SUPER privileges to limit the blast radius of any successful injection, and audit historical execution of dfscleanup.php via shell history and process accounting. Full advisory text is at https://github.com/ezsystems/ezpublish-legacy/security/advisories/GHSA-xg9x-h37w-h3r3 and the technical writeup is at https://github.com/Goaterino/ezpublish-legacy-lab/blob/main/SQL%20injection%20and%20arbitrary%20file%20deletion%20in%20dfscleanup.md.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
eZ Publish Legacy is a PHP-based content management system (composer package ezsystems/ezpublish-legacy) historically maintained by eZ Systems. The vulnerable component is the DFS (Distributed File System) cluster file handler backend located at kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php, specifically the _getFileList method invoked via the dfscleanup.php maintenance script. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): user-controllable input is concatenated directly into a MySQL query rather than parameterized, enabling a UNION-based injection that lets the attacker append arbitrary SELECT statements to the original query and exfiltrate column data from any table the database user can read.
Know when PHP 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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
DescriptionGitHub Advisory
NB: All tags and branches in this repository are past their end of life, so the vulnerability will not be fixed. The advisory is posted on the request of the researcher, for the information of anyone who might still use this software.
Impact
There is a security vulnerability in eZ Publish Legacy, affecting the dfscleanup.php script and the _getFileList function of the eZDFSFileHandlerMySQLiBackend class (kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php). The vulnerability allows an attacker with local shell access and sufficient privileges to run dfscleanup.php to perform a union-based SQL injection against the eZ Publish MySQL database, potentially exposing sensitive data such as user credentials.
It is known to affect the branch 2019.03, and it may well affect other branches.
Credit
The issue was found and reported by security auditor Timothé Ridel from Advens: https://www.advens.com/
Patches
None, the software is past its end of life.
Workarounds
None.
Resources
- Report by Advens: https://github.com/Goaterino/ezpublish-legacy-lab/blob/main/SQL%20injection%20and%20arbitrary%20file%20deletion%20in%20dfscleanup.md
Executive ViewAI
eZ Publish Legacy contains an unpatched SQL injection vulnerability in the dfscleanup.php script that allows authenticated local users with sufficient privileges to extract sensitive data including user credentials from the underlying MySQL database. Since the entire eZ Publish Legacy product line has reached end-of-life with no vendor patch planned, affected organizations face indefinite exposure and must implement compensating controls or migrate to maintain data security.
No vendor-released patch identified at time of analysis. Interim mitigations: Disable dfscleanup.php if functionality is not operationally required; implement strict local access controls and file-system permissions limiting execution to essential users only; reduce database account privileges to minimum necessary for application functionality; enable and actively monitor database access logs and slow-query logs for SQL injection patterns; implement network segmentation isolating affected systems; conduct code review of eZDFSFileHandlerMySQLiBackend class to assess feasibility of input validation hardening.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)GitHub Advisory
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
GHSA-xg9x-h37w-h3r3
NVD
CVE.org
EPSS
Exploit-DB