Expression injection in Apache Struts Bean Validation messages
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-917.
Summary
Apache Struts from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0 and from 7.0.0 through 7.4.0 is affected. When an application uses the Bean Validation plugin, a validation message that includes the submitted value is evaluated as an expression instead of being shown as text, which is an expression language injection flaw (CWE-917). A remote attacker with low privileges may be able to execute code, and Struts 7 is affected only when the OGNL allowlist is disabled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation message that places the submitted value into its text could be evaluated as an expression rather than shown as text, which may lead to remote code execution. This can happen with validation constraints whose standard message already includes the value being validated. Struts 7 is affected only when the OGNL allowlist is disabled; it is enabled by default. Applications that do not use the Bean Validation plugin are not affected. This issue affects Apache Struts: from 2.5.0 through 2.5.33, from 6.0.0 through 6.12.0, from 7.0.0 through 7.4.0. Users are recommended to upgrade to version 6.13.0 or 7.5.0, which fixes the issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade to Apache Struts 6.13.0 or Apache Struts 7.5.0, which fix the issue. The sources list no fixed version for Apache Struts.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Timeline
- 2026-11-30 Threatist record created from CVE-2026-133637
- 2026-11-30 Alias added: GHSA-2www-j5fx-7287
- 2026-11-30 CVSS score added · CISA ADP
- 2026-11-30 CISA SSVC decision points changed
- 2026-12-01 CISA SSVC decision points changed
References
More Apache vulnerabilities
- TI-2026-92478 Unauthenticated deserialization in Apache Roller XML-RPC endpoint KEVCVSS 3.1CRITICAL 9.8
- TI-2026-85977 Remote class instantiation in Apache Axis via SOAP faults KEVCVSS 3.1CRITICAL 9.8
- TI-2025-18529 Path equivalence in Apache Tomcat allows code execution via PUT KEVCVSS 3.1CRITICAL 10.0
- TI-2024-30292 Forced browsing in Apache OFBiz bypasses controller-view authorization KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26062 Incorrect authorization in Apache OFBiz exposes screen rendering code KEVCVSS 3.1CRITICAL 9.8
- TI-2024-21190 Path traversal in Apache OFBiz leads to remote code execution KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-133637 · CVE Program
- CVE-2026-133637 · NVD
- GHSA-2www-j5fx-7287 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences