{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-54133: jmespath.php has CompilerRuntime code injection via unescaped function names","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-54133","status":"final","version":"1","initial_release_date":"2026-06-12T13:56:37.874Z","current_release_date":"2026-06-12T15:07:16.654Z","revision_history":[{"date":"2026-06-12T13:56:37.874Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"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.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-54133 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-54133"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-54133"},{"category":"external","summary":"https://github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528","url":"https://github.com/jmespath/jmespath.php/security/advisories/GHSA-pcw8-m77r-2528"}]},"product_tree":{"branches":[{"category":"vendor","name":"jmespath","branches":[{"category":"product_name","name":"jmespath.php","branches":[{"category":"product_version","name":"< 2.9.1","product":{"name":"jmespath jmespath.php < 2.9.1","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:jmespath:jmespath.php:\\<_2.9.1:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-54133","title":"jmespath.php has CompilerRuntime code injection via unescaped function names","notes":[{"category":"description","text":"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.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}