Skip to main content
Menu
CVEs

Apache Struts 2 Bean Validation Plugin remote code execution in validation messages

Affects Apache Struts 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0 when the Bean Validation plugin is used. Fixed in 6.13.0 and 7.5.0.

CVE-2026-133637EUVD-2026-138187GHSA-2WWW-J5FX-7287Published November 30, 2026, updated

8.8HighCISA-ADP
Exploited
No known exploitation
Fix
Fixed in 6.13.0, 7.5.0
Who is exposed
Specific setups only

Summary

Apache Struts' Bean Validation plugin can evaluate a validation message that contains the submitted value as an expression instead of showing it as text, which may lead to remote code execution. Only applications that use this plugin are affected, and the problem arises with validation constraints whose standard message already includes the validated value.

Written by a model

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

Who should check

Teams running Apache Struts 2.5.x, 6.x or 7.x that use the Bean Validation plugin, including Maven-based Struts applications

“Applications that do not use the Bean Validation plugin are not affected.”

openwall.com

What to do

  1. Check whether your setup matches what the bug needs.

    Application uses the Bean Validation plugin Validation constraint whose standard message already includes the value being validated Struts 7 only when the OGNL allowlist is disabled Apache Struts versions 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0
  2. Upgrade to a fixed version: 6.13.0, 7.5.0.

  3. Workaround: Give every validation constraint whose message includes the value being validated an explicit message key, and provide the text for that key in the application's message resources.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-133637 (Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-133637 (entry last updated 2026-11-30):
Affected:
- Maven package org.apache.struts:struts2-bean-validation-plugin: from 2.5.0, through 2.5.33; from 6.0.0, through 6.12.0; from 7.0.0, through 7.4.0
Fixed versions: 6.13.0, 7.5.0.
Conditions (all must be true for the bug to be hit):
- Application uses the Bean Validation plugin (source: https://www.openwall.com/lists/oss-security/2026/11/30/6)
- Validation constraint whose standard message already includes the value being validated (source: https://www.openwall.com/lists/oss-security/2026/11/30/6)
- Struts 7 only when the OGNL allowlist is disabled (source: https://www.openwall.com/lists/oss-security/2026/11/30/6)
- Apache Struts versions 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0 (source: https://www.openwall.com/lists/oss-security/2026/11/30/6)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, low-privilege login, no user action.
Workaround: Give every validation constraint whose message includes the value being validated an explicit message key, and provide the text for that key in the application's message resources. (source: https://www.openwall.com/lists/oss-security/2026/11/30/6)
CISA KEV: CVE-2026-133637 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133637 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Packages (Maven): find every lockfile in each project and run the stack.check operation of the cve.now MCP server (execute) on each one. Compare the resolved versions, not the ranges a manifest declares, with the affected versions above. Include transitive dependencies.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://cwiki.apache.org/confluence/display/WW/S2-081
- http://www.openwall.com/lists/oss-security/2026/11/30/6
- https://www.openwall.com/lists/oss-security/2026/11/30/6
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-133637
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-133637"}.

Affected versions

cve.now Index

28Pof 100 · provisional · methodology v3
  • Exploitation0/40No signal
  • Exposure8/25Specific setups only, reachable over the network
  • Reach10/20Affects Maven packages
  • Severity9.8/10CVSS 8.8, total technical impact per CISA
  • No patch0/5No signal

What would change the score

  • Would score about 78 if added to CISA KEV
  • Would score about 73 if CISA's SSVC rates exploitation active
  • Would score about 35 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Evidence 4

KindSource
Vendor advisory 1Establishes: Affected and fixed versions.
Advisorycwiki.apache.org · confluence/display/WW/S2-081
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-133637
RecordNVD · CVE-2026-133637
Write-ups 1Establishes: Technical detail and context.
Linkopenwall.com · lists/oss-security/2026/11/30/6

Questions about CVE-2026-133637

Is CVE-2026-133637 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A validation message that includes the submitted value can be evaluated as an expression instead of being shown as plain text. This can lead to remote code execution.

Source: openwall.com

Which versions are affected by CVE-2026-133637?

org.apache.struts:struts2-bean-validation-plugin (Maven): from 2.5.0 through 2.5.33; from 6.0.0 through 6.12.0; from 7.0.0 through 7.4.0.

Source: cve.now feed data

Am I affected, and how do I check?

Affected versions are Struts 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. The issue needs the Bean Validation plugin and a validation constraint whose standard message already includes the validated value; Struts 7 is affected only when the OGNL allowlist is disabled. To check, look at the Struts version in your build file and whether the Bean Validation plugin is included.

Source: openwall.com

How do I fix CVE-2026-133637?

Upgrade to Struts 6.13.0 or 7.5.0, which fix the issue. Until you upgrade, give every validation constraint whose message includes the validated value an explicit message key, and provide the text for that key in the application's message resources.

Source: openwall.com

No corrections so far. Something wrong on this page? Report an error.