Symfony: JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| symfony | symfony | 7.3.0-BETA1 to before 7.4.12; 8.0.0-BETA1 to before 8.0.12 | 7.4.12, 8.0.12 | Patch available | CNA |
| symfony | json-path | 7.3.0-BETA1 to before 7.4.12; 8.0.0-BETA1 to before 8.0.12 | 7.4.12, 8.0.12 | Patch available | CNA |
| — | symfony/json-path (Packagist) | 7.3.0 to before 7.4.12 | 7.4.12 | Patch available | GHSA-8v8v-g73j-492j |
| — | symfony/json-path (Packagist) | 8.0.0 to before 8.0.12 | 8.0.12 | Patch available | GHSA-8v8v-g73j-492j |
| — | symfony/symfony (Packagist) | 7.3.0 to before 7.4.12 | 7.4.12 | Patch available | GHSA-8v8v-g73j-492j |
| — | symfony/symfony (Packagist) | 8.0.0 to before 8.0.12 | 8.0.12 | Patch available | GHSA-8v8v-g73j-492j |
- symfony Vendorsymfony Affected 7.3.0-BETA1 to before 7.4.12; 8.0.0-BETA1 to before 8.0.12 Fixed in 7.4.12, 8.0.12 Patch available CNA
- json-path Vendorsymfony Affected 7.3.0-BETA1 to before 7.4.12; 8.0.0-BETA1 to before 8.0.12 Fixed in 7.4.12, 8.0.12 Patch available CNA
- symfony/json-path (Packagist) Vendor— Affected 7.3.0 to before 7.4.12 Fixed in 7.4.12 Patch available GHSA-8v8v-g73j-492j
- symfony/json-path (Packagist) Vendor— Affected 8.0.0 to before 8.0.12 Fixed in 8.0.12 Patch available GHSA-8v8v-g73j-492j
- symfony/symfony (Packagist) Vendor— Affected 7.3.0 to before 7.4.12 Fixed in 7.4.12 Patch available GHSA-8v8v-g73j-492j
- symfony/symfony (Packagist) Vendor— Affected 8.0.0 to before 8.0.12 Fixed in 8.0.12 Patch available GHSA-8v8v-g73j-492j
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* | 7.3.0 to before 7.4.12; 8.0.0 to before 8.0.12 | Vulnerable | sensiolabs |
- cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:* Versions 7.3.0 to before 7.4.12; 8.0.0 to before 8.0.12 Vulnerable ·sensiolabs
Remediation
- Fix · CNA symfony (symfony) Fixed in 7.4.12, 8.0.12
- Fix · CNA json-path (symfony) Fixed in 7.4.12, 8.0.12
- Fix · GHSA-8v8v-g73j-492j symfony/json-path (Packagist) Fixed in 7.4.12 Advisory →
- Fix · GHSA-8v8v-g73j-492j symfony/json-path (Packagist) Fixed in 8.0.12 Advisory →
- Fix · GHSA-8v8v-g73j-492j symfony/symfony (Packagist) Fixed in 7.4.12 Advisory →
- Fix · GHSA-8v8v-g73j-492j symfony/symfony (Packagist) Fixed in 8.0.12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45756
- 2026-10-03 Alias added: GHSA-8v8v-g73j-492j
- 2026-10-28 EPSS moved to the 50th–90th percentile
References
Patch 2
Other 6
- https://github.com/symfony/symfony/releases/tag/v7.4.12
- https://github.com/symfony/symfony/releases/tag/v8.0.12
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/json-path/CVE-2026-45756.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2026-45756.yaml
- https://github.com/symfony/symfony
- https://symfony.com/cve-2026-45756
More symfony vulnerabilities
- TI-2024-33775 Ability to change environment from query in symfony/runtime CVSS 3.1HIGH 7.3
- TI-2026-34283 Twig: The `spaceless` filter implicitly marks its output as safe CVSS 4.0MEDIUM 5.1
- TI-2022-07667 Code injection in Twig CVSS 3.1CRITICAL 9.8
- TI-2018-10028 Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key… CVSS 3.0CRITICAL 9.8
- TI-2026-35851 Incorrect authorization in symfony CVSS 4.0HIGH 8.7
- TI-2026-35264 Improper input validation in symfony CVSS 4.0HIGH 8.3
Sources
- CVE-2026-45756 · CVE Program
- CVE-2026-45756 · NVD
- FIRST EPSS
- GHSA-8v8v-g73j-492j · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences