Skip to main content

eZ Publish Legacy CVE-2026-38739

HIGH
SQL Injection (CWE-89)
2026-05-29 https://github.com/ezsystems/ezpublish-legacy GHSA-xg9x-h37w-h3r3
7.1
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

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

  1. Access
    Obtain local shell on eZ Publish host
  2. Delivery
    Locate dfscleanup.php with execute rights
  3. Exploit
    Inject UNION SELECT into _getFileList parameter
  4. Execution
    MySQLi backend executes appended query
  5. Persist
    Exfiltrate ezuser credential hashes
  6. Impact
    Crack 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 (eZDFSFileHandlerMySQLiBackend) - installations using a different cluster backend or no clustering are not in scope. Confirmed against branch 2019.03 and suspected on others; no user interaction or network exposure is required, but remote network attackers cannot reach this code path without first obtaining a shell.

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 _getFileList query, appending a UNION SELECT that returns rows from the ezuser table. The attacker harvests administrator password hashes and email addresses, cracks them offline, and pivots to full CMS administrator access. A detailed researcher write-up describing the exact injection points is publicly hosted on GitHub, which substantially lowers the skill bar even though no weaponized exploit script is currently identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

composer ezsystems/ezpublish-legacy no fix

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

GitHub Advisory PRIMARY 7.1 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

pkg:composer/ezsystems_ezpublish-legacy

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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