Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Apache Struts Bean Validation Expression Injection (CVE-2026-133637)

CVE-2026-133637 is an expression language injection flaw in the Apache Struts Bean Validation plugin.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
3 min read
CVE ID
CVE-2026-133637
Vendor
Apache Software Foundation
Affected Product
Apache Struts Bean Validation plugin
Exploitation
Not confirmed
Published
2026-11-30

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

  1. 2026-11-20

    Apache's S2-081 advisory was last updated.

  2. 2026-11-30

    The CVE Program published CVE-2026-133637.

What to do

  1. 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.

  2. 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.

  3. 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.

  4. 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

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

  1. S2-081: Bean Validation plugin expression evaluationApache Software Foundation
  2. CVE-2026-133637 recordCVE Program
  3. NVD CVE-2026-133637 recordNIST
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →