Skip to content

CVE-2025-53192 Apache Commons OGNL: Expression Injection leading to RCE

HighCVSS 8.8 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

** UNSUPPORTED WHEN ASSIGNED ** Improper Neutralization of Expression/Command Delimiters vulnerability in Apache Commons OGNL.

This issue affects Apache Commons OGNL: all versions.

When using the API Ognl.getValue​, the OGNL engine parses and evaluates the provided expression with powerful capabilities, including accessing and invoking related methods,
etc. Although OgnlRuntime attempts to restrict certain dangerous classes and methods (such as java.lang.Runtime) through a blocklist, these restrictions are not comprehensive.
Attackers may be able to bypass the restrictions by leveraging class objects that are not covered by the blocklist and potentially achieve arbitrary code execution.

As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users.

NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Affected products

ProductAffected versionsFixed in
debian/ognl(Debian:12) All versions No fix listed
debian/ognl(Debian:12) = 2.7.3-7 No fix listed
debian/ognl(Debian:12) = 2.7.3-8 No fix listed
debian/ognl(Debian:12) = 2.7.3-9 No fix listed
debian/ognl(Debian:13) All versions No fix listed
debian/ognl(Debian:13) = 2.7.3-8 No fix listed
debian/ognl(Debian:13) = 2.7.3-9 No fix listed
debian/ognl(Debian:14) All versions No fix listed
debian/ognl(Debian:14) = 2.7.3-8 No fix listed
debian/ognl(Debian:14) = 2.7.3-9 No fix listed
Apache Commons OGNL All versions No fix listed
ubuntu/ognl(Ubuntu:22.04) All versions No fix listed
ubuntu/ognl(Ubuntu:24.04) All versions No fix listed
ubuntu/ognl(Ubuntu:26.04) All versions No fix listed
ubuntu/ognl(Ubuntu:26.10) All versions No fix listed
apache commons ognl All versions No fix listed

References