CVE-2026-54133

CRITICAL CVSS 3.1: 9.8 EPSS 0.44%
Updated Oct 26, 2026
Jmespath
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 2.9.1
Fixed In 2.9.1
Type CWE-20 (Improper Input Validation), CWE-116 (Improper Encoding or Escaping of Output), CWE-94 (Code Injection)
Vendor Jmespath
Public PoC No

jmespath.php allows users to use JMESPath, software for declaratively specifying how to extract elements from a JSON document, in PHP applications with PHP data structures. Versions prior to 2.9.1 can generate and execute attacker-controlled PHP code when `JmesPath\CompilerRuntime` is used with an attacker-controlled JMESPath expression. The compiler emits parsed JMESPath function names into generated PHP source without sufficient escaping.

A crafted expression can cause the generated cache file to contain executable attacker-controlled PHP, which is then loaded by the compiler runtime. The issue is patched in `2.9.1` and later. As a workaround, disable `JP_PHP_COMPILE` and do not use `JmesPath\CompilerRuntime` with attacker-controlled expressions.

Use the default `AstRuntime` for untrusted expressions. Applications that must continue accepting untrusted JMESPath expressions before upgrading should ensure those expressions are never evaluated by the compiler runtime.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Jmespath Jmespath
cpe:2.3:a:jmespath:jmespath:*:*:*:*:*:php:*:*
— 2.9.1

Related Vulnerabilities