Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-54133
Published:June 12, 2026
Updated:June 28, 2026
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.
Affected Packages
https://github.com/jmespath/jmespath.php.git (GITHUB):
Affected version(s) >=0.1.0 <2.9.1
Fix Suggestion:
Update to version 2.9.1
mtdowling/jmespath.php (PHP):
Affected version(s) >=dev-master <2.9.1
Fix Suggestion:
Update to version 2.9.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Encoding or Escaping of Output
Improper Control of Generation of Code ('Code Injection')
Improper Input Validation
EPSS
Base Score:
0.32