CVE-2025-53192Apache Commons OGNL: Expression Injection leading to RCE
** 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.
What to do
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | ognl | Fix pending | UBUNTU-CVE-2025-53192 | |
| Ubuntu 26.04 | ognl | Under investigation | UBUNTU-CVE-2025-53192 | |
| Ubuntu 25.10 | ognl | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-53192 | |
| Ubuntu 24.04 | ognl | Under investigation | UBUNTU-CVE-2025-53192 | |
| Ubuntu 22.04 | ognl | Under investigation | UBUNTU-CVE-2025-53192 | |
| Ubuntu 20.04 | ognl | Fix pending | UBUNTU-CVE-2025-53192 | |
| Ubuntu 18.04 | ognl | Fix pending | UBUNTU-CVE-2025-53192 | |
| Ubuntu 16.04 | ognl | Fix pending | UBUNTU-CVE-2025-53192 | |
| Debian 14 | ognl | Fix pending | DEBIAN-CVE-2025-53192 | |
| Debian 13 | ognl | Fix pending | DEBIAN-CVE-2025-53192 | |
| Debian 12 | ognl | Fix pending | DEBIAN-CVE-2025-53192 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Commons OGNL: affected: all versions
Vendor advisories:
- https://lists.apache.org/thread/2gj8tjl6vz949nnp3yxz3okm9xz2k7sp (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.