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

Published Oct 5, 2026
·
Updated

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 Software

1 affected component
Apache Struts>=2.0.0<=2.3.37, >=2.5.0<=2.5.33, >=6.0.0<=6.11.0, >=7.0.0<=7.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Struts to a version that resolves this vulnerability.

    Fixed in 6.12.0
  2. Upgrade

    Upgrade Apache Struts to a version that resolves this vulnerability.

    Fixed in 7.4.0
  3. Configuration

    Enable the OGNL allowlist; Struts 7 is affected only when it is disabled.

    Apache Struts OGNL allowlist = enabled

Event History

Oct 5, 2026
CVE Published
via MITRE·06:35 PM
Data Sourced
via MITRE·06:35 PM
DescriptionWeakness
Data Sourced
via NVD·07:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications configured to use the legacy RESTful action mapper are exposed within the affected version ranges. Struts 7 deployments are affected only if the OGNL allowlist has been disabled; the allowlist is enabled by default.

2

Are applications using other Struts request-mapping options affected?

No. Applications using the default action mapper, the restful2 mapper, or the Struts REST plugin are not affected by this issue.

3

What does an attacker need to exploit the vulnerability?

An attacker needs to send a crafted request to an application using the legacy RESTful action mapper. The request can inject an OGNL expression, which may result in remote code execution.

4

What versions remediate the issue?

Upgrade to Apache Struts version 6.12.0 or 7.4.0, which fix the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203