CVE-2026-133637
Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.struts » struts2-bean-validation-pluginpreliminary | >= 2.5.0, <= 2.5.33>= 6.0.0, <= 6.12.0>= 7.0.0, <= 7.4.0 | - |
Blast radius
33% of the dependent artifacts (1) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 118 |
Most used dependents
- org.apache.struts » struts2-assembly0 usages
- org.apache.struts » struts2-showcase0 usages
- com.jgeppert.struts2 » struts2-cloud-support0 usages
Computed from the dependency graph of build 20261205.0236 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | confluence/display/WW/S2-081 | cwiki.apache.org |
| Advisory | CVE record CVE-2026-133637 | github.com |
| Advisory | NVD CVE-2026-133637 | nvd.nist.gov |
| Web | lists/oss-security/2026/11/30/6 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
