Skip to main content
VulnerabilityPublished

CVE-2026-123824: Symfony · XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true

Affects symfony/configSource GCVE Database

0
Compare

Mentioned vulnerabilities

Authoritative record:CVE-2026-123824· Low 2.3

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

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Contested

Scorers differ by 2 or more points
CVSS scores by source
CNA (Checkmarx)CVSS 4.02.3
CISA-ADPCVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistsymfony/configAffected
  • <5.4.56
Fixed in
  • 5.4.56
Packagistsymfony/configAffected
  • >=6.0.0 <6.4.50
Fixed in
  • 6.4.50
Packagistsymfony/configAffected
  • >=7.0.0 <7.4.23
Fixed in
  • 7.4.23
Packagistsymfony/configAffected
  • >=8.0.0 <8.1.11
Fixed in
  • 8.1.11
Packagistsymfony/symfonyAffected
  • <5.4.56
Fixed in
  • 5.4.56
Packagistsymfony/symfonyAffected
  • >=6.0.0 <6.4.50
Fixed in
  • 6.4.50

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

Community reviews

Loading reviews…