CVE-2026-123824Sensiolabs Symfony XML external entity (XXE)
CVSS score
2.3
Low
CVSS 4.0 from 596c5446-0ce5-4ba2-aa66-48b3b757a647
Exploit probability (EPSS)
0.27%
0.27% chance of exploitation in the next 30 days, higher than 19.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: 596c5446-0ce5-4ba2-aa66-48b3b757a647
How to fix it, step by step
Check whether you're affected
Find every system running sensiolabs Symfony and compare its version with the affected versions.
Update to a fixed version
- Update Symfony to 5.4.56, 6.4.50, 7.4.23, 8.1.11 or later, on the branch you run.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- Low
- User interaction
- None
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Values in red make the vulnerability easier to exploit or more damaging. 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| sensiolabs Symfony | < 5.4.56 · ≥ 6.0.0, < 6.4.50 · ≥ 7.0.0, < 7.4.23 · ≥ 8.0.0, < 8.1.11 |
Weakness
- CWE-611 XML external entity (XXE)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-123824 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-123824?
CVE-2026-123824 has a CVSS 4.0 base score of 2.3 (low).
Which versions are affected?
Sensiolabs Symfony (< 5.4.56; ≥ 6.0.0, < 6.4.50; ≥ 7.0.0, < 7.4.23; ≥ 8.0.0, < 8.1.11)
Is there a patch for CVE-2026-123824?
The official record links to vendor advisories or patches; see “What to do” above.
References
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.