CVE-2026-123824Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true
The Symfony Config component XmlUtils::parse() enables DTD validation before rejecting documents that carry a doctype, allowing XML external entity (XXE) injection in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11. A remote attacker who can supply XML to this method can determine whether local files exist, cause a denial of service, and, in some configurations, exfiltrate local file content via a crafted XML document whose doctype declares an external file:// entity. XmlUtils::parse() sets $dom->validateOnParse = true before calling loadXML() and only rejects documents carrying a doctype afterwards. Enabling DTD validation makes libxml resolve external entities during loadXML(), and LIBXML_NONET blocks http:// but not file://, so a file:// entity is read from disk before the doctype rejection runs. The content of the file is not returned to the caller, but the distinct libxml error for a missing path reveals whether a file exists, and an entity pointing at a large or slow file causes a denial of service. If the application registers a network-capable stream wrapper such as s3://, a parameter entity can also send the content of a local file to an external server. This is the same issue as CVE-2026-45071, which was fixed in the DomCrawler component but not in Config. Applications are affected if they pass untrusted XML to XmlUtils::parse() directly. The Symfony components that call it process developer-provided or operator-configured sources, such as configuration files and the XLIFF documents fetched by the translation providers.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Ubuntu 26.04 | symfony | Under investigation | UBUNTU-CVE-2026-123824 | |
| Ubuntu 24.04 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Ubuntu 22.04 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Ubuntu 20.04 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Ubuntu 18.04 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Ubuntu 16.04 | symfony | Fix pending | UBUNTU-CVE-2026-123824 | |
| Debian 14 | symfony | Fixed | 7.4.23+dfsg-1 | DEBIAN-CVE-2026-123824 |
| Debian 13 | symfony | Fixed | 6.4.50+dfsg-0+deb13u1 | DEBIAN-CVE-2026-123824 |
| Debian 12 | symfony | Fix pending | DEBIAN-CVE-2026-123824 |
What the vendor says
As published in the CVE record by Checkmarx, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- sensiolabs symfony: affected: before 5.4.56, 6.0.0 to before 6.4.50, 7.0.0 to before 7.4.23, 8.0.0 to before 8.1.11; fixed in
5.4.56,6.4.50,7.4.23,8.1.11
Vendor advisories:
References
- https://github.com/symfony/symfony/security/advisories/GHSA-5jff-8h8q-r5qx
- https://github.com/symfony/symfony/commit/334ef21a6039355c05b123e7df60699be0e28da3
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.