Skip to main content

Symfony JsonPath EUVDEUVD-2026-44340

| CVE-2026-45756 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-05-28 https://github.com/symfony/symfony GHSA-8v8v-g73j-492j
8.2
CVSS 4.0 · Vendor: https://github.com/symfony/symfony
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate endpoint evaluating user JSONPath
  2. Delivery
    Submit search() filter with (a+)+$ pattern
  3. Exploit
    PCRE catastrophic backtracking pins CPU core
  4. Execution
    Send concurrent requests
  5. Persist
    Exhaust PHP worker pool
  6. Impact
    Service denial

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application take a JSONPath expression from an untrusted source (query parameter, request body, or API field) and evaluate it server-side via Symfony's JsonCrawler, AND that the expression is allowed to contain a match() or search() filter function evaluated against any non-trivial JSON document. The concrete trigger is a nested-quantifier ReDoS pattern supplied as the second argument to search()/match(), e.g. $[?search(@, "(a+)+$")]. Limiting factors that reduce realistic risk: if the application never passes attacker-influenced JSONPath to JsonCrawler (i.e. expressions are static or developer-defined), the flaw is not reachable - this is the AT:P attack requirement in the CVSS 4.0 vector; only symfony/json-path 7.3.0-7.4.11 and 8.0.0-8.0.11 are affected, and no authentication is required per PR:N. It is availability-only (VC:N/VI:N/VA:H), so no data disclosure or code execution results.

Impact

The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H, score 8.2 High) captures the shape well: network-reachable, low complexity, no privileges or user interaction, availability-only impact, but with AT:P (Attack Requirements Present) reflecting the necessary precondition that the application feed attacker-controlled JSONPath into JsonCrawler. This is a genuine availability risk where that precondition holds, but it is not confidentiality/integrity impacting and is not universally reachable. Real-world urgency signals are modest and consistent: EPSS is 0.08% (24th percentile), the CVE is not in CISA KEV, and no public exploit is flagged - though the advisory itself publishes a working pathological pattern, lowering the practical barrier. The AT:P requirement is the key limiter: unlike a default-config network flaw, exploitation depends on an application design choice (exposing JSONPath evaluation to untrusted input), so this is a targeted-conditions DoS rather than a mass-exploitable issue. Net: prioritize patching for services that evaluate user-supplied JSONPath; deprioritize where JSONPath expressions are never attacker-influenced.

Exploit ScenarioDerived

An attacker identifies an API endpoint or query parameter whose value is used as a JSONPath expression evaluated by Symfony's JsonCrawler against server-side JSON data. They submit an expression containing a catastrophic-backtracking filter such as $[?search(@, "(a+)+$")] against a moderately sized document, pinning a CPU core for seconds; issuing a handful of concurrent such requests exhausts the PHP worker pool and denies service to legitimate users. No public exploit tool is identified, but the advisory discloses the exact pathological pattern and the AV:N/AC:L conditions make weaponization straightforward.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Jul 14, 2026

Denial of service in the Symfony JsonPath component (json-path 7.3.0-7.4.11 and 8.0.0-8.0.11) lets remote attackers exhaust CPU and worker capacity when an application evaluates attacker-influenced JSONPath expressions server-side. The match()/search() filter functions compile caller-supplied patterns directly into preg_match() with no length cap, i-regexp restriction, or backtracking bound, so a crafted pattern like $[?search(@, "(a+)+$")] triggers catastrophic backtracking that pins a core for seconds per request. There is no public exploit identified at time of analysis and EPSS is very low (0.08%), but the pathological pattern is disclosed in the advisory and the fix is available in 7.4.12 and 8.0.12.

Earlier versions of this analysis (1)
v1 May 28, 2026 - 18:01

Uncontrolled PCRE backtracking in Symfony's JsonPath component allows denial of service when attacker-influenced JSONPath expressions containing match() or search() filters are evaluated server-side. Affected applications that pass user-supplied JSONPath queries to JsonCrawler::find() can be made to execute catastrophically backtracking patterns such as '(a+)+$', pinning a CPU core for several seconds per request; a small number of concurrent requests can exhaust the entire PHP worker pool. The vulnerability is compounded by error suppression (@preg_match) that silences PCRE backtrack-limit exceptions, producing no log trace of the attack. No public exploit code and no CISA KEV listing are identified at time of analysis, but the advisory itself provides a working proof-of-concept pattern.

RemediationAI

Vendor-released patch: upgrade symfony/json-path (or symfony/symfony) to 7.4.12 on the 7.x line or 8.0.12 on the 8.x line, per releases https://github.com/symfony/symfony/releases/tag/v7.4.12 and https://github.com/symfony/symfony/releases/tag/v8.0.12 and commit https://github.com/symfony/symfony/commit/1ac2d47418ec23066112db1e6ca35be6fe123d14; the fix wraps the preg_match() calls in a safeRegexMatch() helper that lowers pcre.backtrack_limit to 10000 for the duration of the match and restores it afterward, so pathological patterns fail fast. If you cannot upgrade immediately, the highest-value compensating control is to stop evaluating attacker-influenced JSONPath: validate or allowlist JSONPath expressions before passing them to JsonCrawler, and specifically reject or strip match()/search() filter functions from untrusted input (trade-off: breaks legitimate use of those filters). As a process-wide mitigation you can set php.ini pcre.backtrack_limit to a low value such as 10000 to bound backtracking globally (trade-off: may cause legitimate large-input regex operations elsewhere in the application to fail), and place per-request CPU/time limits or a WAF rate limit in front of endpoints that accept JSONPath. Because the preg_match() calls are @-suppressed, add explicit monitoring for CPU-bound requests since PCRE errors will not surface in logs.

Affected VersionsENISA

json-path 8.0.0-BETA1, < 8.0.12
symfony 8.0.0-BETA1, < 8.0.12
symfony 7.3.0-BETA1, < 7.4.12
json-path 7.3.0-BETA1, < 7.4.12

Affected Packages

composer symfony/json-path fix: 7.4.12, 8.0.12
composer symfony/symfony fix: 7.4.12, 8.0.12
euvd json_path_7_3_0_beta1 fix: 7.4.12
euvd json_path_8_0_0_beta1 fix: 8.0.12
euvd symfony_7_3_0_beta1 fix: 7.4.12
euvd symfony_8_0_0_beta1 fix: 8.0.12

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 6 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected technology is the Symfony JsonPath component (Composer packages symfony/json-path and the symfony/symfony monolith, per pkg:composer/symfony_json-path and pkg:composer/symfony_symfony CPEs), which implements RFC 9535 JSONPath querying via the JsonCrawler class. The root cause is CWE-400 (Uncontrolled Resource Consumption), manifesting here as regular-expression denial of service: transformJsonPathRegex() performs only cosmetic escaping and hands the resulting pattern straight to PCRE's preg_match() with the /u modifier, without limiting length, constraining input to the RFC 9485 i-regexp safe subset, or capping backtracking. PCRE's default pcre.backtrack_limit is high enough that nested-quantifier patterns (e.g. (a+)+) produce exponential backtracking against modestly sized subject strings. The @ error-suppression operator on both preg_match() calls further hides the PCRE backtrack-limit warning, so exhaustion leaves no log trace, complicating detection.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/symfony/symfony) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

Network-reachable and unauthenticated (AV:N/PR:N) but requires the application to evaluate attacker-controlled JSONPath, a precondition mapped to AC:H; availability-only impact (A:H, C:N/I:N).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/symfony/symfony).

CVSS VectorVendor: https://github.com/symfony/symfony

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Analysis Updated
Jul 14, 2026 - 18:28 vuln.today
v2 - CVSS changed
CVSS changed
Jul 14, 2026 - 18:22 NVD
8.2 (HIGH)

DescriptionCVE.org

Description

The JsonPath component's match() and search() filter functions compile a caller-supplied pattern straight into preg_match():

php
'match'  => @preg_match(\sprintf('/^%s$/u', $this->transformJsonPathRegex($argList[1])), $value),
'search' => @preg_match("/{$this->transformJsonPathRegex($argList[1])}/u", $value),

transformJsonPathRegex() only performs cosmetic escaping: there is no length cap, no restriction to the RFC 9485 i-regexp subset, and no bound on backtracking. An application that evaluates an attacker-influenced JSONPath expression server-side (e.g. one taken from a query parameter or API field and passed to JsonCrawler) can therefore be made to run a catastrophic-backtracking pattern such as $[?search(@, "(a+)+$")]. Evaluated against a moderately sized document, this pins a CPU core for seconds per request, so a handful of concurrent requests exhausts the worker pool: a denial of service. Because the preg_match() calls are prefixed with @, the PCRE backtrack-limit errors that would otherwise surface are suppressed, leaving no log trace.

Conditions for exploitation

An application that evaluates an attacker-influenced JSONPath expression containing a match() / search() filter against any non-trivial JSON input.

Resolution

JsonCrawler runs the preg_match() calls through a helper that lowers pcre.backtrack_limit to 10000 for the duration of the call (restoring the previous value afterwards), so a pathological pattern fails fast instead of stalling the worker.

The patch for this issue is available here for branch 7.4.

Credits

Symfony would like to thank Himanshu Anand for reporting the issue and Alexandre Daubois for providing the fix.

Executive ViewAI

Why It Matters

The Symfony JsonPath component (versions 7.3.0-7.4.11, 8.0.0-8.0.11) contains a denial-of-service vulnerability allowing attackers to exhaust CPU resources and disable application services through malicious JSONPath expressions. Organizations running affected versions face service availability risks if applications process attacker-influenced queries, directly impacting customers and revenue-generating operations. Vendor patches are available and should be deployed immediately.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Prevalence
Medium
Symfony widely deployed, but JsonPath component new (7.3+) and rarely used
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy