What’s Vulnerable › Vulnerabilities
CVE-2026-104711: Apache Struts: OGNL injection in the legacy RESTful action mapper
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-05 · updated 2026-10-08
- Weakness: CWE-917
Description
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application is configured to use the legacy RESTful action mapper, a crafted request can inject an OGNL expression that may lead to remote code execution. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications using the default action mapper, the restful2 mapper, or the Struts REST plugin are not affected. This issue affects Apache Struts: from 2.0.0 through 2.3.37, from 2.5.0 through 2.5.33, from 6.0.0 through 6.11.0, from 7.0.0 through 7.3.0. Users are recommended to upgrade to version 6.12.0 or 7.4.0, which fixes the issue.
Affected products
- Apache Struts: from 2.0.0 through 2.3.37; from 2.5.0 through 2.5.33; from 6.0.0 before 6.12.0; from 7.0.0 before 7.4.0 — fixed in 6.12.0, 7.4.0
How to fix
Upgrade to a fixed version: Apache Struts 6.12.0, 7.4.0. Check the vendor advisory for mitigations.
References
- https://cwiki.apache.org/confluence/display/WW/S2-075
- http://www.openwall.com/lists/oss-security/2026/10/05/10
Get alerted when CVE-2026-104711 or the next vulnerability affects your stack