# CVE-2026-38739: eZ Systems eZ Publish Legacy SQL injection in dfscleanup

Source: https://junglewise.ai/threats/cve-2026-38739-ez-systems-ez-publish-legacy-sql-injection-in-dfscleanup  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-29. Updated: 2026-05-29  
License: CC BY 4.0 with a link back

CVE-2026-38739 · Severity: high · CVSS 7.1 · Published 2026-05-29

eZ Publish Legacy, an older content management system, contains a security flaw in its database cleanup script. An attacker with local access to the server could exploit this to steal sensitive information, such as user credentials, from the database. Because this software is no longer supported, no official fix will be released.

Technologies: [ezsystems/ezpublish-legacy (Packagist)](https://junglewise.ai/threats/technologies/ezsystems-ezpublish-legacy). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-38739 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-38739 being exploited in the wild.

**How severe is CVE-2026-38739?** High severity, with a CVSS score of 7.1, published 29 May 2026.

**Which products and versions are affected?** ezsystems/ezpublish-legacy (Packagist) = 2019.03.

**Is there a fix for CVE-2026-38739?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-38739 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-38739?** Check whether you run eZ Systems eZ Publish Legacy or ezsystems/ezpublish-legacy (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A union-based SQL injection vulnerability exists in eZ Publish Legacy within the dfscleanup.php script and the _getFileList function of the eZDFSFileHandlerMySQLiBackend class. The root cause is improper neutralization of special elements used in SQL commands (CWE-89). An attacker with local shell access and sufficient privileges to execute the cleanup script can manipulate database queries to extract sensitive data. This affects version 2019.03 and potentially other legacy branches. No patches are available as the product has reached end-of-life.

## Affected products

- ezsystems ezpublish-legacy 2019.03

## Identifiers

- CVE-2026-38739
- GHSA-xg9x-h37w-h3r3

## Timeline

- 2026-05-29: advisory: GitHub Advisory GHSA-xg9x-h37w-h3r3 published

## References

- [https://api.github.com/users/Goaterino](https://api.github.com/users/Goaterino)
- [https://github.com/Goaterino](https://github.com/Goaterino)
- [https://api.github.com/users/Goaterino/gists%7B/gist_id%7D](https://api.github.com/users/Goaterino/gists%7B/gist_id%7D)
- [https://api.github.com/users/Goaterino/repos](https://api.github.com/users/Goaterino/repos)
- [https://avatars.githubusercontent.com/u/151046527?v=4](https://avatars.githubusercontent.com/u/151046527?v=4)
- [https://api.github.com/users/Goaterino/events%7B/privacy%7D](https://api.github.com/users/Goaterino/events%7B/privacy%7D)

## Related threats

- [Ez Platform Object Injection in legacy shop module](https://junglewise.ai/threats/ez-platform-object-injection-in-legacy-shop-module-9b28f79e)
- [EZsystems Remote code execution in file uploads](https://junglewise.ai/threats/ezsystems-remote-code-execution-in-file-uploads-f6af84c9)
- [Ez Platform and Legacy are prone to an insecure interpretation of PHP/PHAR uploads](https://junglewise.ai/threats/ez-platform-and-legacy-are-prone-to-an-insecure-interpretation-of-php-02603e36)
- [eZ Publish Legacy Passwordless login for LDAP users](https://junglewise.ai/threats/ez-publish-legacy-passwordless-login-for-ldap-users-1c3775a3)
- [eZ Publish Legacy Cross-site Scripting (XSS) in 'disabled module' error template](https://junglewise.ai/threats/ez-publish-legacy-cross-site-scripting-xss-in-disabled-module-error-2cb46586)
