CVE-2026-45071Sensiolabs Symfony
High 8.7 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 14, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/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
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, Crawler::addXmlContent() set DOMDocument::$validateOnParse = true before loadXML(), re-enabling external entity resolution and allowing attacker-supplied XML to expand file:// entities such as local files. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/dom-crawler |
< 5.4.52 |
5.4.52 |
composer require "symfony/dom-crawler:^5.4.52" |
| Packagist | symfony/dom-crawler |
≥ 6.0.0 < 6.4.40 |
6.4.40 |
composer require "symfony/dom-crawler:^6.4.40" |
| Packagist | symfony/dom-crawler |
≥ 7.0.0 < 7.4.12 |
7.4.12 |
composer require "symfony/dom-crawler:^7.4.12" |
| Packagist | symfony/dom-crawler |
≥ 8.0.0 < 8.0.12 |
8.0.12 |
composer require "symfony/dom-crawler:^8.0.12" |
| Packagist | symfony/symfony |
< 5.4.52 |
5.4.52 |
composer require "symfony/symfony:^5.4.52" |
| Packagist | symfony/symfony |
≥ 6.0.0 < 6.4.40 |
6.4.40 |
composer require "symfony/symfony:^6.4.40" |
| Packagist | symfony/symfony |
≥ 7.0.0 < 7.4.12 |
7.4.12 |
composer require "symfony/symfony:^7.4.12" |
| Packagist | symfony/symfony |
≥ 8.0.0 < 8.0.12 |
8.0.12 |
composer require "symfony/symfony:^8.0.12" |
Per OSV / GitHub Advisories (GHSA-x6g4-fwcc-jj8w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | < 5.4.52 |
| sensiolabs | symfony | ≥ 6.0.0 < 6.4.40 |
| sensiolabs | symfony | ≥ 7.0.0 < 7.4.12 |
| sensiolabs | symfony | ≥ 8.0.0 < 8.0.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Product Release Notes
- github.com Patch Vendor Advisory