XML External Entity injection in Symfony - CVE-2026-123824

 

XML External Entity injection in Symfony - CVE-2026-123824

Published: December 1, 2026


Vulnerability identifier: #VU171464
CSH Severity: Low
CVSS v4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-123824
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to determine whether local files exist, disclose local file contents under certain configurations, or cause a denial of service.

The vulnerability exists due to improper restriction of XML external entity references in Symfony Config's XmlUtils::parse() when an application passes untrusted XML directly to the method. DTD validation causes libxml to resolve external entities before the method rejects the document type declaration. A remote user can submit XML to trigger this premature resolution and infer file existence from parser errors, conditionally disclose file contents, or disrupt parsing.

Disclosure of file contents requires a network-capable stream wrapper registered by the application.


Affected software

Symfony

How to mitigate CVE-2026-123824

Install security update from vendor's website.

Symfony - update to 5.4.56

External References

Related Security Bulletins