Vulnerabilities / CVE-2026-54133

critical

CVE-2026-54133

CompilerRuntime code injection via unescaped function names

Published Modified CWE 20, 94, 116
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by GHSA.

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.

Affected packages and fixed versions

SourcePackageFixed in
composer::GitHub Security Advisory Composermtdowling/jmespath.php2.9.1
chainguardnextcloud-server-33, nextcloud-server-34, py3-jmespath and 2 more33.0.6-r9 and 2 more
composer::PHP Security Advisories Databasemtdowling/jmespath.phpno fix listed
minimosnextcloud-server-32, nextcloud-server-33, nextcloud-server-3432.0.13-r0 and 2 more
rapidfort fedora 43nextcloud, nextcloud-httpd, nextcloud-mysql and 3 more33.0.6-1.fc43
rapidfort Oracle Linux 10nextcloud, nextcloud-httpd, nextcloud-mysql and 3 more33.0.6-1.el10_2
wolfinextcloud-server-33, py3-jmespath, ruby3.2-jmespath and 1 more33.0.6-r9 and 1 more
Show all 26 entries from 7 sources
SourcePackageFixed in
composer::GitHub Security Advisory Composermtdowling/jmespath.php2.9.1
chainguardnextcloud-server-3333.0.6-r9
chainguardnextcloud-server-3434.0.2-r0
chainguardpy3-jmespath0
chainguardruby3.2-jmespath0
chainguardruby3.4-jmespath0
composer::PHP Security Advisories Databasemtdowling/jmespath.phpno fix listed
minimosnextcloud-server-3232.0.13-r0
minimosnextcloud-server-3333.0.7-r0
minimosnextcloud-server-3434.0.2-r0
rapidfort fedora 43nextcloud33.0.6-1.fc43
rapidfort fedora 43nextcloud-httpd33.0.6-1.fc43
rapidfort fedora 43nextcloud-mysql33.0.6-1.fc43
rapidfort fedora 43nextcloud-nginx33.0.6-1.fc43
rapidfort fedora 43nextcloud-postgresql33.0.6-1.fc43
rapidfort fedora 43nextcloud-sqlite33.0.6-1.fc43
rapidfort Oracle Linux 10nextcloud33.0.6-1.el10_2
rapidfort Oracle Linux 10nextcloud-httpd33.0.6-1.el10_2
rapidfort Oracle Linux 10nextcloud-mysql33.0.6-1.el10_2
rapidfort Oracle Linux 10nextcloud-nginx33.0.6-1.el10_2
rapidfort Oracle Linux 10nextcloud-postgresql33.0.6-1.el10_2
rapidfort Oracle Linux 10nextcloud-sqlite33.0.6-1.el10_2
wolfinextcloud-server-3333.0.6-r9
wolfipy3-jmespath0
wolfiruby3.2-jmespath0
wolfiruby3.4-jmespath0

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.