Advisory

GHSA-xg9x-h37w-h3r3

Also known as: CVE-2026-38739

Summary

ezsystems/ezpublish-legacy has a SQL injection in dfscleanup

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-29 19:07 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

ezsystems/ezpublish-legacy

Packagist · All systems

Affected

  • Versions: 2019.03

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences