CVE Explorer
CVE-2026-54133
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"jmespath.php","vendor":"jmespath","versions":[{"status":"affected","version":"< 2.9.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528","tags":["x_refsource_CONFIRM"],"url":"https://github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:47209841146d98f68a380a6f10add1e1617d53456e8382cf72e3737c5accac56 · sha256:e2566dadb93fa899… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.