Intel

AIKIDO-2026-928289

mtdowling/jmespath.php is vulnerable to Code Injection

CVE-2026-54133Published Jun 15, 2026
June 15, 2026

98

CVE Score

Critical

Code Injection

Are you affected? Scan for Free

TL;DR

mtdowling/jmespath.php emits parsed JMESPath function names into generated PHP source without safely escaping them as string literals when JmesPath\CompilerRuntime is used (or when JP_PHP_COMPILE is enabled). A crafted expression using a non-identifier function callee can break out of the generated string literal and write attacker-controlled PHP into the compiled-expression cache file, which the compiler runtime then loads and executes. This allows arbitrary PHP code execution with the privileges of the PHP process when an attacker can influence the expression string. The fix escapes function names with var_export() and rejects non-identifier function callees in the parser.

How do I fix this?

Upgrade the mtdowling/jmespath.php library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.1.0 - 2.9.0

Fixed in 2.9.1

Background info

mtdowling/jmespath.php is vulnerable to Code Injection in versions 0.1.0 - 2.9.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea