CVE-2025-53192CWE-146

Apache Commons OGNL: Expression Injection leading to RCE

High · published August 18, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
44.4
In the wild
Unconfirmed
What it is

** 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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00557 · 44.4th percentile
Weakness
CWE-146 · Improper Neutralization of Expression/Command Delimiters
Published
2025-08-18T20:09Z
EPSS history
Timeline
  • 18 AUG 20:09Z
    Apache Commons OGNL: Expression Injection leading to RCE
    cvelistv5