A validation message containing a submitted value may be evaluated as an expression, potentially allowing remote code execution. Apache rates the maximum severity Moderate and recommends upgrading to Struts 6.13.0 or 7.5.0.The affected path requires an application to use the Bean Validation plugin. Struts 7 is affected only when its OGNL allowlist is disabled; the allowlist is enabled by default. Teams using a vulnerability intelligence platform can pair the vendor advisory with their deployed Struts version and application configuration.
What it allows
How Can CVE-2026-133637 Evaluate a Validation Message?
Apache says a Bean Validation constraint can include the submitted value in a validation error message. The plugin may then evaluate that message as an expression instead of displaying it as text. Apache says this behavior can occur even when a developer has not customized the constraint's standard message.
An attacker would need an application path that accepts a submitted value and returns an affected validation message. Expression evaluation could then lead to remote code execution, according to Apache.
The outcome and reachability depend on how the application uses the plugin and, for Struts 7, whether its OGNL allowlist is disabled. See the remote code execution glossary for the potential impact. Brandefense Blackhole counted 2 dark-chat items mentioning CVE-2026-133637 from 2026-09-01 to 2026-11-30.
The Apache Struts CVE-2026-133642 path bypass profile covers a separate URL-pattern authorization issue with fixes in 6.13.0 and 7.5.0.
Who is affected
Which CVE-2026-133637 Versions and Configurations Are Affected?
Apache lists Struts 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. These ranges matter only for applications using the Bean Validation plugin. The 7.x range is affected only when the OGNL allowlist is disabled; Apache says the default enabled state is unaffected.
Apache marks the 2.5 line end of life and gives no 2.5 fixed release. It identifies 6.13.0 as the fixed 6.x release and 7.5.0 as the fixed 7.x release. Inventory the Struts version and plugin usage in each application, then inspect the 7.x allowlist setting before prioritizing upgrades. Use a documented patch management process to track each deployment.
Timeline
-
2026-11-20
Apache's S2-081 advisory was last updated.
-
2026-11-30
The CVE Program published CVE-2026-133637.
What to do
-
Identify affected applications
Find applications using the Bean Validation plugin on Struts 2.5.0 through 2.5.33, 6.0.0 through 6.12.0 or 7.0.0 through 7.4.0. For Struts 7, confirm whether the OGNL allowlist is disabled.
-
Apply the supported fix
Upgrade 6.x deployments to Struts 6.13.0 or later and 7.x deployments to 7.5.0 or later. Plan a supported-line migration for 2.5.x, which Apache marks end of life.
-
Use the workaround when an upgrade is pending
For every validation constraint whose message includes the validated value, declare an explicit message key and provide its text in application message resources, as Apache directs.
-
Verify the running application
After deployment, verify the Struts version running in each application, review its Bean Validation configuration and test validation responses. Review application error logs for unusual validation failures; this is a defensive investigation, not a published detection signature.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-133637 in Brandefense Atlas
The Atlas record of CVE-2026-133637: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Is Struts 7 affected by CVE-2026-133637 in its default configuration?
No. Apache says the OGNL allowlist is enabled by default and Struts 7 is affected only when that allowlist is disabled. The application must also use the Bean Validation plugin.
Which releases fix CVE-2026-133637?
Apache identifies Struts 6.13.0 for the 6.x maintenance line and 7.5.0 for 7.x. It marks 2.5.x end of life and lists no fixed 2.5 release.
Does CVE-2026-133637 require a custom validation message?
No. Apache says a standard validation constraint message may already contain the submitted value, so the behavior can occur without a developer changing that message.
Sources
- S2-081: Bean Validation plugin expression evaluationApache Software Foundation
- CVE-2026-133637 recordCVE Program
- NVD CVE-2026-133637 recordNIST