home / blog

2026-11-10 · critical

CVE-2026-104711: Expression Language Injection Apache Struts

CVE-2026-104711: Critical Expression Language Injection in Apache Struts legacy REST mapper.

CVE-2026-104711: Expression Language Injection Apache Struts

CVE-2026-104711 is an Expression Language Injection vulnerability in Apache Struts when configured with the legacy RESTful action mapper. An attacker can send a crafted request containing an OGNL expression that, if processed, can lead to remote code execution on the server. This vulnerability affects applications using the legacy mapper with the OGNL allowlist disabled; applications using the default action mapper, the restful2 mapper, or the Struts REST plugin are not affected.

The vulnerability has a CVSS score of 9.8 with critical severity. It was published on NVD on October 5, 2026. It has been confirmed that public repositories on GitHub contain proof-of-concept (POC) code for exploitation, indicating that the security community has already verified the technical feasibility of the flaw. For Struts 7, OGNL allowlist protection is enabled by default, but the vulnerability remains critical for those who have disabled this protection or are using earlier versions.

Primary defense is immediate upgrade to Struts 6.12.0 or 7.4.0, which resolve the issue. In the interim, if upgrade is not possible, it is critical to verify the application mapper configuration and disable the legacy REST action mapper if not strictly necessary. For Struts 7, verify that the OGNL allowlist is enabled (default setting). Monitor server logs for anomalous requests with OGNL expressions in parameters, especially on RESTful endpoints.

Expression Language Injection vulnerabilities in Struts have a history of complex exploit scenarios: this flaw represents a significant regression in Apache's update cycle. The specific context of the legacy REST action mapper suggests that applications migrated toward modern RESTful architectures may have retained obsolete mappers for compatibility, increasing exposure risk. Monitoring patch adoption is critical for organizations with heterogeneous Struts infrastructures.

At a glance

What
Expression Language Injection in Apache Struts legacy RESTful mapper; can lead to remote code execution via OGNL expression
Severity
CVSS 9.8; critical severity declared
Affected versions
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
Fix
Upgrade to Struts 6.12.0 or 7.4.0
Status
Patch available; public GitHub POC confirmed as of 2026-11-10
Action
Verify action mapper configuration; disable legacy REST if not needed; apply patch immediately

Sources: NVD, CVE-2026-104711

← All articles