CVE-2026-104711Apache Struts: OGNL injection in the legacy RESTful action mapper
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 10 | google-guice | Not affected | ||
| Red Hat Enterprise Linux 10 | google-guice-javadoc | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-assistedinject | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-bom | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-extensions | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-grapher | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-jmx | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-jndi | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-parent | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-servlet | Not affected | ||
| Red Hat Enterprise Linux 10 | guice-throwingproviders | Not affected | ||
| Red Hat Enterprise Linux 9 | google-guice | Not affected | ||
| Red Hat Enterprise Linux 9 | google-guice-javadoc | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-assistedinject | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-bom | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-extensions | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-grapher | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-jmx | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-jndi | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-parent | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-servlet | Not affected | ||
| Red Hat Enterprise Linux 9 | guice-throwingproviders | Not affected | ||
| Red Hat Enterprise Linux 8 | google-guice | Not affected | ||
| Red Hat Enterprise Linux 8 | google-guice-javadoc | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-assistedinject | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-bom | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-extensions | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-grapher | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-jmx | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-jndi | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-multibindings | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-parent | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-servlet | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-testlib | Not affected | ||
| Red Hat Enterprise Linux 8 | guice-throwingproviders | Not affected |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Struts: affected: 2.0.0 to 2.3.37, 2.5.0 to 2.5.33, 6.0.0 to 6.11.0, 7.0.0 to 7.3.0
Vendor advisories:
- https://cwiki.apache.org/confluence/display/WW/S2-075 (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.