CRITICAL 9.8

CVE-2026-104711

Apache Struts: OGNL injection in the legacy RESTful action mapper

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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)

ArtifactAffected versionsFixed 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

1affected artifacts
208affected versions
797dependent artifacts (est.)
278,566dependent versions

51% of the dependent artifacts (407) still pull an affected version in their latest release.

DepthDependent 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

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

Advisorycwiki.apache.org
Advisorygithub.com
Advisorynvd.nist.gov
Webopenwall.com
Webrepo.maven.apache.org