Live threats

All CVEs / Apache

CVE-2026-104711Apache Struts

Expression Language Injection in Apache Struts Legacy RESTful Action Mapper

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Oct 5, 2026
Updated
Oct 8, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-917
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Apache Struts is vulnerable to OGNL expression injection when configured with the legacy RESTful action mapper. An unauthenticated attacker can send a crafted request to inject OGNL expressions leading to remote code execution. Versions 2.0.0 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.11.0, and 7.0.0 through 7.3.0 are affected; in Struts 7 only if the OGNL allowlist is disabled.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 2.3.37, 2.5.33, 6.12.0, 7.4.0

Upgrade Apache Struts to version 6.12.0 or 7.4.0. For 2.x versions, upgrade to 2.3.37 or 2.5.33. Avoid using the legacy RESTful action mapper.

Vendor advisory · cwiki.apache.org ↗

  1. Apply the vendor's security update for Struts.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachestruts≥ 2.0.0 ≤ 2.3.37
apachestruts≥ 2.5.0 ≤ 2.5.33
apachestruts≥ 6.0.0 < 6.12.0
apachestruts≥ 7.0.0 < 7.4.0

Official sources

References

Links published by the sources. Open them with care.