CVE-2026-123824: Symfony · XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true
Affects symfony/configSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 2.3 Low : upgrade to 5.4.56 when convenient.
Data as of 2 Dec 2026, 00:19 UTC
Contested
Scorers differ by 2 or more points| CNA (Checkmarx) | CVSS 4.0 | 2.3 |
|---|---|---|
| CISA-ADP | CVSS 3.1 | 6.3 |
- Patch
- Available – fixed in 5.4.56, 6.4.50, 7.4.23 +1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistsymfony/config | Affected
| Fixed in
|
| Packagistsymfony/config | Affected
| Fixed in
|
| Packagistsymfony/config | Affected
| Fixed in
|
| Packagistsymfony/config | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
| Packagistsymfony/symfony | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches available in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11 or later, which remove the validateOnParse flag from XmlUtils::parse(). No other changes are required as doctype rejection and schema validation remain intact. Avoid passing untrusted XML to XmlUtils::parse() directly. Since a patch is available, update to a fixed version promptly.
Description
Symfony's XmlUtils::parse() method in the Config component improperly enables DTD validation by setting validateOnParse to true before loading XML. This causes libxml to process external entities, including file:// URIs, before rejecting documents with doctypes, allowing local file read via XML External Entity (XXE). The vulnerability affects applications that pass untrusted XML directly to this method. The issue was fixed by removing the validateOnParse flag in Symfony versions 5.4.56, 6.4.50, 7.4.23, and 8.1.11.
References
- github.com/symfony/symfony/security/advisories/GHSA-5jff-8h8q-r5qx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-123824 (opens in a new tab)
- github.com/symfony/symfony/commit/334ef21a6039355c05b123e7df60699be0e28da3 (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/config/CVE-2026-123824.yaml (opens in a new tab)
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-123824.yaml (opens in a new tab)
- github.com/symfony/symfony (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v5.4.56 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v6.4.50 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v7.4.23 (opens in a new tab)
- github.com/symfony/symfony/releases/tag/v8.1.11 (opens in a new tab)