Vulnerability · Published Aug 18, 2025 · Assigned by apache

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

High 8.8

In plain English

A high-severity security flaw in Apache Commons OGNL from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)0.6%top 52.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ognlno fix listedDEBIAN-CVE-2025-53192
Debian:13ognlno fix listedDEBIAN-CVE-2025-53192
Debian:14ognlno fix listedDEBIAN-CVE-2025-53192
Ubuntu:22.04:LTSognlno fix listedUBUNTU-CVE-2025-53192
Ubuntu:24.04:LTSognlno fix listedUBUNTU-CVE-2025-53192
Ubuntu:25.10ognlno fix listedUBUNTU-CVE-2025-53192
Ubuntu:26.04:LTSognlno fix listedUBUNTU-CVE-2025-53192
Ubuntu:26.10ognlno fix listedUBUNTU-CVE-2025-53192

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache Commons OGNL 0 – before *

Weakness: CWE-146 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References