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.
{
"cna_assigner": "apache",
"cwe_ids": [
"CWE-917"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104711.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.3.37"
},
{
"introduced": "2.5.0"
},
{
"last_affected": "2.5.33"
},
{
"introduced": "6.0.0"
},
{
"last_affected": "6.11.0"
},
{
"introduced": "7.0.0"
},
{
"last_affected": "7.3.0"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.3.37"
},
{
"introduced": "2.5.0"
},
{
"last_affected": "2.5.33"
},
{
"introduced": "6.0.0"
},
{
"fixed": "6.12.0"
},
{
"introduced": "7.0.0"
},
{
"fixed": "7.4.0"
}
],
"source": "CPE_RANGE"
}