Skip to content
DayZeroHub
High Not yet writtenCVSS 8.8CVE-2026-133637

CVE-2026-133637: Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin

Apache Software Foundation Apache Struts

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-133637: high-severity vulnerability (CVSS 8.8) in Apache Software Foundation Apache Struts.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 8.8.

Affected products and versions

Apache Software Foundation Apache Struts >= 2.5.0, <= 2.5.33; Apache Software Foundation Apache Struts >= 6.0.0, <= 6.12.0; Apache Software Foundation Apache Struts >= 7.0.0, <= 7.4.0

ProductVersionsFixed in
Apache Software Foundation Apache Struts>= 2.5.0, <= 2.5.33—
Apache Software Foundation Apache Struts>= 6.0.0, <= 6.12.0—
Apache Software Foundation Apache Struts>= 7.0.0, <= 7.4.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-917

Relevant change history

  1. Published

    Preliminary advisory published.