Advisories / composer / symfony/json-path / CVE-2026-45756
Symfony's JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS (CVE-2026-45756)
CVE-2026-45756 GHSA-8v8v-g73j-492j Published 28 May 2026
Affects 2 packages. Each has a fixed release.
$ composer require symfony/json-path:^7.4.12 $ composer require symfony/json-path:^8.0.12 $ composer require symfony/symfony:^7.4.12 $ composer require symfony/symfony:^8.0.12
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| symfony/json-path | ≥ 7.3.0, < 7.4.12≥ 8.0.0, < 8.0.12 | 7.4.128.0.12 |
| symfony/symfony | ≥ 7.3.0, < 7.4.12≥ 8.0.0, < 8.0.12 | 7.4.128.0.12 |
Check a site from its project folder:
composer show symfony/json-path
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of symfony/json-path is safe from CVE-2026-45756?
8.0.12 and later. Versions affected: ≥ 7.3.0, < 7.4.12, ≥ 8.0.0, < 8.0.12.
Which version of symfony/symfony is safe from CVE-2026-45756?
8.0.12 and later. Versions affected: ≥ 7.3.0, < 7.4.12, ≥ 8.0.0, < 8.0.12.