Skip to content

CVE-2026-104711 Apache Struts: OGNL injection in the legacy RESTful action mapper

CriticalCVSS 9.8 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
Red Hat

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
apache struts >= 2.0.0, <= 2.3.37; >= 2.5.0, <= 2.5.33; >= 6.0.0, < 6.12.0; >= 7.0.0, < 7.4.0 6.12.0, 7.4.0 Fixed
org.apache.struts/struts2-core(Maven) >= 2.0.0, <= 2.3.37; >= 2.5.0, <= 2.5.33; >= 6.0.0, <= 6.11.0; >= 7.0.0, <= 7.3.0 after 2.3.37, 2.5.33, 6.11.0, 7.3.0 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.struts/struts2-core(Maven) >= 2.0.0, <= 2.3.37 No fix listed
org.apache.struts/struts2-core(Maven) >= 2.5.0, <= 2.5.33 No fix listed
org.apache.struts/struts2-core(Maven) >= 6.0.0, <= 6.11.0 No fix listed
org.apache.struts/struts2-core(Maven) >= 7.0.0, <= 7.3.0 No fix listed
apache struts >= 2.0.0, <= 2.3.37 No fix listed
apache struts >= 2.5.0, <= 2.5.33 No fix listed
apache struts >= 6.0.0, < 6.12.0 6.12.0
apache struts >= 7.0.0, < 7.4.0 7.4.0

References