CVE-2026-104711
Apache Struts: OGNL injection in the legacy RESTful action mapper
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-corepreliminary | >= 2.0.0, <= 2.3.37>= 2.5.0, <= 2.5.33>= 6.0.0, <= 6.11.0>= 7.0.0, <= 7.3.0 | - |
Blast radius
51% of the dependent artifacts (407) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 23,478 |
| 2 hops | 169,923 |
| 3 hops | 69,384 |
| 4 hops | 13,851 |
| 5 hops | 1,578 |
| 6 hops | 352 |
Most used dependents
- com.atlassian.confluence » confluence724 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- com.atlassian.jira » atlassian-jira-pageobjects230 usages
- com.atlassian.jira » jira-func-tests212 usages
- com.atlassian.bamboo » atlassian-bamboo-web203 usages
- com.atlassian.bamboo » atlassian-bamboo-api171 usages
- com.atlassian.confluence » confluence-test-support158 usages
- com.atlassian.confluence » confluence-webdriver-support143 usages
- org.nuiton.i18n » i18n-maven-plugin132 usages
- com.atlassian.bamboo » atlassian-bamboo-core127 usages
- com.atlassian.confluence » atlassian-confluence-pageobjects119 usages
- com.atlassian.confluence » confluence-test-utils116 usages
- com.atlassian.bamboo » atlassian-bamboo-test-utils105 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- com.atlassian.confluence.plugins » confluence-functestrpc-plugin77 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | confluence/display/WW/S2-075 | cwiki.apache.org |
| Advisory | CVE record CVE-2026-104711 | github.com |
| Advisory | NVD CVE-2026-104711 | nvd.nist.gov |
| Web | lists/oss-security/2026/10/05/10 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
