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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Commons OGNL | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ognl | No fix yet | — |
| Debian 13 | ognl | No fix yet | — |
| Debian 12 | ognl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ognl | No fix yet | — |
| Ubuntu 26.04 LTS | ognl | No fix yet | — |
| Ubuntu 25.10 | ognl | No fix yet | — |
| Ubuntu 24.04 LTS | ognl | No fix yet | — |
| Ubuntu 22.04 LTS | ognl | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | ognl | No fix yet | — |
| Ubuntu 18.04 LTS | ognl | No fix yet | — |
| Ubuntu 16.04 LTS | ognl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | Multi-Linux-Manager-Server-SLE-release | 5.1-150700.16.3.6 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-attestation-image +3 | 5.1.1-8.7.15 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-hub-xmlrpc-api-image +3 | 5.1.1-8.5.25 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-image +3 | 5.1.1-8.5.61 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-migration-14-16-image +3 | 5.1.1-8.5.38 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-postgresql-image +3 | 5.1.1-6.5.7 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-server-saline-image +3 | 5.1.1-9.5.35 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Server Extension for SLE 5.1 | uyuni-tools | 5.1.22-150700.3.7.4 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Proxy Extension for SLE 5.1 | Multi-Linux-Manager-Proxy-SLE-release | 5.1-150700.16.3.6 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Proxy Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-proxy-httpd-image +3 | 5.1.1-8.7.30 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Proxy Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-proxy-salt-broker-image +3 | 5.1.1-9.5.45 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Proxy Extension for SLE 5.1 | suse-multi-linux-manager-5.1-s390x-proxy-ssh-image +11 | 5.1.1-8.5.20 | SUSE-SU-2025:3839-1 |
| SUSE Multi-Linux Manager Proxy Extension for SLE 5.1 | uyuni-tools | 5.1.22-150700.3.7.4 | SUSE-SU-2025:3839-1 |
| SUSE Manager Server LTS 4.3 | release-notes-susemanager | 4.3.16.1-150400.3.143.2 | SUSE-SU-2025:3827-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Manager Server 5.0 | suse-manager-5.0-s390x-server-attestation-image +3 | 5.0.5.1-6.28.7 | SUSE-SU-2025:3825-1 |
| SUSE Manager Server 5.0 | suse-manager-5.0-s390x-server-hub-xmlrpc-api-image +3 | 5.0.5.1-6.24.9 | SUSE-SU-2025:3825-1 |
| SUSE Manager Server 5.0 | suse-manager-5.0-s390x-server-image +3 | 5.0.5.1-7.31.17 | SUSE-SU-2025:3825-1 |
| SUSE Manager Server 5.0 | suse-manager-5.0-s390x-server-migration-14-16-image +3 | 5.0.5.1-7.24.12 | SUSE-SU-2025:3825-1 |
| SUSE Manager Retail Branch Server Extension 5.0 | suse-manager-5.0-s390x-proxy-httpd-image +3 | 5.0.5.1-7.24.21 | SUSE-SU-2025:3825-1 |
| SUSE Manager Retail Branch Server Extension 5.0 | suse-manager-5.0-s390x-proxy-salt-broker-image +3 | 5.0.5.1-7.26.21 | SUSE-SU-2025:3825-1 |
| SUSE Manager Retail Branch Server Extension 5.0 | suse-manager-5.0-s390x-proxy-ssh-image +11 | 5.0.5.1-7.24.7 | SUSE-SU-2025:3825-1 |
| SUSE Manager Proxy LTS 4.3 | release-notes-susemanager-proxy | 4.3.16.1-150400.3.101.2 | SUSE-SU-2025:3827-1 |
| SUSE Manager Proxy 5.0 | suse-manager-5.0-s390x-proxy-httpd-image +3 | 5.0.5.1-7.24.21 | SUSE-SU-2025:3825-1 |
| SUSE Manager Proxy 5.0 | suse-manager-5.0-s390x-proxy-salt-broker-image +3 | 5.0.5.1-7.26.21 | SUSE-SU-2025:3825-1 |
| SUSE Manager Proxy 5.0 | suse-manager-5.0-s390x-proxy-ssh-image +11 | 5.0.5.1-7.24.7 | SUSE-SU-2025:3825-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | mybatis | 3.5.19-1.1 | openSUSE-SU-2025:15567-1 |
| openSUSE Tumbleweed | ognl | 3.4.7-1.1 | openSUSE-SU-2025:15568-1 |
| openSUSE Leap 15.6 | mybatis | 3.5.19-150200.5.9.1 | SUSE-SU-2025:03285-1 |
| openSUSE Leap 15.6 | ognl | 3.4.7-150200.5.3.1 | SUSE-SU-2025:03285-1 |
Advisories 6
- openSUSE-SU-2025:15567-1 mybatis-3.5.19-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- openSUSE-SU-2025:15568-1 ognl-3.4.7-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:3839-1 Security update 5.1.1 for Multi-Linux Manager Server SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03285-1 Security update for mybatis, ognl SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:3827-1 Security update 4.3.16.1 for SUSE Manager Server Release Notes SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:3825-1 Recommended update 5.0.5.1 for Multi-Linux Manager Server SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://lists.apache.org/thread/2gj8tjl6vz949nnp3yxz3okm9xz2k7sp vendor-advisory