CVE-2026-54133: jmespath Improper Input Validation
Vulnerability summary
CVE-2026-54133 is a critical (CVSS 9.8) Improper Input Validation vulnerability in jmespath. EPSS estimates a 0.56% chance of exploitation in the next 30 days, higher than 46% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 12-06-2026PublishedVulnerability first disclosed.
- 12-06-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.56%
Chance of exploitation in the next 30 days
Percentile
46%
Versus all other CVEs
30-day change
+0.15 pp
From 0.42% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-116Improper Encoding or Escaping of OutputThe product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Affected systems
Chainguard11 products
- nextcloud-server-33< 33.0.6-r9
- nextcloud-server-34< 34.0.2-r0
- py3-jmespathAll versions (No fix recorded)
- py3.10-jmespathAll versions (No fix recorded)
- py3.11-jmespathAll versions (No fix recorded)
Wolfi10 products
- nextcloud-server-33< 33.0.6-r9
- py3-jmespathAll versions (No fix recorded)
- py3.10-jmespathAll versions (No fix recorded)
- py3.11-jmespathAll versions (No fix recorded)
- py3.12-jmespathAll versions (No fix recorded)
Jmespath2 products
- jmespath< 2.9.1
- jmespath.php< 2.9.1
3 vendors · 23 products
References
3 links- github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528X Refsource CONFIRMAdvisoryMitigationVendor Advisory