Security mailing lists by PureSourceCode

CVE-2026-54133

CRITICAL 9.8CVSS 3.1

jmespath.php has CompilerRuntime code injection via unescaped function names

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.

Published
12 Jun 2026
Last modified
25 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-116CWE-20CWE-94
Also known as
GHSA-pcw8-m77r-2528
Sources
NVDJSONOSV GHSA-pcw8-m77r-2528JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jmespath jmespath
cpe:2.3:a:jmespath:jmespath:*:*:*:*:*:php:*:*
< 2.9.1 2.9.1
OSV Packagist mtdowling/jmespath.php < 2.9.1 2.9.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.