CVE-2026-123824sensiolabs symfony
Low 2.3
Follow: this CVE · sensiolabs · sensiolabs symfony We alert you by email or Slack (account required).
- Priority
- 14
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 6, 2026
- Updated
- Nov 6, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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
- Apply the vendor's security update for symfony.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/config |
< 5.4.56 |
5.4.56 |
composer require "symfony/config:^5.4.56" |
| Packagist | symfony/config |
≥ 6.0.0 < 6.4.50 |
6.4.50 |
composer require "symfony/config:^6.4.50" |
| Packagist | symfony/config |
≥ 7.0.0 < 7.4.23 |
7.4.23 |
composer require "symfony/config:^7.4.23" |
| Packagist | symfony/config |
≥ 8.0.0 < 8.1.11 |
8.1.11 |
composer require "symfony/config:^8.1.11" |
| Packagist | symfony/symfony |
< 5.4.56 |
5.4.56 |
composer require "symfony/symfony:^5.4.56" |
| Packagist | symfony/symfony |
≥ 6.0.0 < 6.4.50 |
6.4.50 |
composer require "symfony/symfony:^6.4.50" |
| Packagist | symfony/symfony |
≥ 7.0.0 < 7.4.23 |
7.4.23 |
composer require "symfony/symfony:^7.4.23" |
| Packagist | symfony/symfony |
≥ 8.0.0 < 8.1.11 |
8.1.11 |
composer require "symfony/symfony:^8.1.11" |
Per OSV / GitHub Advisories (GHSA-5jff-8h8q-r5qx). Check the version in your lockfile before upgrading.
Affected products
- sensiolabs · symfony
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.