CVE-2026-38739: ezsystems/ezpublish-legacy has a SQL injection in dfscleanup
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.
Published May 29, 2026
Affected packages
ezsystems/ezpublish-legacy
- Ecosystem
- Composer (PHP)
- Affected
- = 2019.03
- Fixed in
- No patched version yet
- Check
composer show ezsystems/ezpublish-legacy
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
Credited to Goaterino.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2vh3-cj9j-mcj5
eZ Publish Legacy Cross-site Scripting (XSS) in 'disabled module' error template
mediumMay 15, 2024GHSA-39j2-4p9j-5w4j
Ez Platform Object Injection in legacy shop module
mediumMay 15, 2024GHSA-82rv-45pc-v28w
eZ Publish Legacy Patch EZSA-2018-001 for Several vulnerabilities
highMay 15, 2024GHSA-9895-26wr-4fgv
EZsystems Remote code execution in file uploads
highMay 15, 2024GHSA-cc2j-92jq-wgjg
eZ Publish Information disclosure in backend content tree menu
highMay 15, 2024GHSA-p9mp-vq4v-v5m5
eZ Publish Legacy Passwordless login for LDAP users
highMay 15, 2024
