# CVE-2026-135804: Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-28)
- **CWE:** CWE-400, CWE-407, CWE-1333
- **Published:** 2026-11-24T08:55:17.841Z
- **Modified:** 2026-11-25T17:17:46.460Z

## Who should check

- Anyone running symfony/json-path \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11
- Anyone running symfony/symfony \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11

## Description

The fix for CVE-2026-45756 lowers pcre.backtrack\_limit to 10000 around each preg\_match() call of the match() and search() filter functions. That limit applies to one starting position, not to one call. PCRE resets its counter at every position it tries a match from. So an unanchored pattern that stays just under the limit is paid once per byte of the subject. Each call also starts from a fresh limit, so chaining clauses in one filter multiplies the work.

Two other paths made the cost of a query grow faster than its size, without any regular expression:
- The filter evaluator scanned the whole expression for logical operators once per node. Its cost grew with the square of the number of chained clauses.
- Queries starting with $ inside a filter, like @.x == $.limit or length($.items), were evaluated again for every node the filter visits.

An application that evaluates an attacker-influenced JSONPath expression can therefore still be made to hold a PHP worker. A document of 2 MB and a query of 2.5 KB take 3.5 minutes of CPU.

JsonCrawler::find() now bounds the total regex work of one call, and throws an exception when that budget is exhausted. Filter expressions are parsed once per query, and absolute queries inside filters are evaluated once per query.

## Affected and fixed versions

- symfony/json-path: \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11 (cvelist)
- symfony/symfony: \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11 (cvelist)

## Technologies

Symfony

## Mitigation

- Upgrade symfony/json-path to 8.1.11 or later.
- Upgrade symfony/symfony to 8.1.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-135804. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-135804.md
Affected: symfony/json-path >= 7.3.0, < 7.4.23; >= 8.0.0, < 8.1.11; symfony/symfony >= 7.3.0, < 7.4.23; >= 8.0.0, < 8.1.11
Fixed in: symfony/json-path 7.4.23, symfony/json-path 8.1.11, symfony/symfony 7.4.23, symfony/symfony 8.1.11

Steps:
1. Search this machine and project for symfony/json-path, symfony/symfony: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-135804 being exploited?

There is no confirmed exploitation: CVE-2026-135804 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-135804?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-135804?

symfony/json-path \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11; symfony/symfony \>= 7.3.0, \< 7.4.23; \>= 8.0.0, \< 8.1.11.

### Is there a fix for CVE-2026-135804?

Yes. Fixed in symfony/json-path 7.4.23, symfony/json-path 8.1.11, symfony/symfony 7.4.23, symfony/symfony 8.1.11. Upgrade symfony/json-path to 8.1.11 or later. Upgrade symfony/symfony to 8.1.11 or later.

### How do I check if I'm affected by CVE-2026-135804?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://symfony.com/cve-2026-135804>
- vendor: <https://github.com/symfony/symfony/security/advisories/GHSA-cpww-5vpx-72x7>
- patch: <https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2>
- patch: <https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47>
- patch: <https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-135804>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-135804> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-135804>
