Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin
Summary
| CVE | CVE-2026-133637 |
|---|---|
| State | PUBLISHED |
| Assigner | apache |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 12:18:02 UTC |
| Updated | 2026-11-30 12:18:02 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-917 | CWE-917 CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Apache Software Foundation | Apache Struts | affected 2.5.0 2.5.33 semver | Not specified |
| CNA | Apache Software Foundation | Apache Struts | affected 6.0.0 6.12.0 semver | Not specified |
| CNA | Apache Software Foundation | Apache Struts | affected 7.0.0 7.4.0 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cwiki.apache.org/confluence/display/WW/S2-081 | [email protected] | cwiki.apache.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Adam Korczynski of Ada Logics, for Anthropic (en)
There are currently no legacy QID mappings associated with this CVE.