# Symfony's JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS

Advisory record · `GHSA-8v8v-g73j-492j`

- **Identifiers:** `GHSA-8v8v-g73j-492j` · `CVE-2026-45756` · `PKSA-94ry-294g-7bbc` · `PKSA-rj1d-mpts-8wrt`
- **State:** Confirmed
- **Severity:** CVSS 8.2 High
- **Critical:** No
- **Weakness (CWE):** [CWE-400](https://cwe.mitre.org/data/definitions/400.html) · [CWE-1333](https://cwe.mitre.org/data/definitions/1333.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 28 May 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 28 May 2026, 17:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/json-path` (Packagist): affected `>=7.3.0, <7.4.12 || >=8.0.0, <8.0.12`; fixed in `7.4.12`, `8.0.12`
- `symfony/symfony` (Packagist): affected `>=7.3.0, <7.4.12 || >=8.0.0, <8.0.12`; fixed in `7.4.12`, `8.0.12`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The symfony/json-path component (versions 7.3.0 up to 7.4.12, and 8.0.0 up to 8.0.12) and the symfony/symfony package with the same ranges are affected. The match() and search() filter functions pass caller-supplied patterns to preg_match() with no length limit or backtracking bound, so an application that evaluates attacker-influenced JSONPath expressions can be driven into catastrophic backtracking, causing denial of service through CPU exhaustion. Upgrade to symfony/json-path or symfony/symfony 7.4.12 or 8.0.12, which limit pcre.backtrack_limit during these calls.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.2 High, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0063, the 50th percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 20 May 2026, 10:21 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/symfony/symfony/security/advisories/GHSA-8v8v-g73j-492j)
- 31 Oct 2026, 14:02 UTC: First seen by agentprime
- 31 Oct 2026, 14:02 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8v8v-g73j-492j)

## Sources

- [GitHub Advisory Database: GHSA-8v8v-g73j-492j](https://github.com/advisories/GHSA-8v8v-g73j-492j)
- [OSV: GHSA-8v8v-g73j-492j](https://osv.dev/vulnerability/GHSA-8v8v-g73j-492j)
- <https://github.com/symfony/symfony/security/advisories/GHSA-8v8v-g73j-492j>
- <https://github.com/symfony/symfony/commit/1ac2d47418ec23066112db1e6ca35be6fe123d14>
- <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>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8v8v-g73j-492j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8v8v-g73j-492j/>. Everything for agents: <https://agentprime.io/llms.txt>.
