Apache Struts Bean Validation messages allow remote code execution
CVE-2026-133637 and 9 more
The Struts tool used to build websites can be hacked remotely.
- CVE
- CVE-2026-133637 and 9 more
- Score
- CVSS 8.8 · CVE-2026-133637
- First seen
Mitigation
Update Struts 7 to 7.5.0 or later, and Struts 6 to 6.13.0 or later. The 2.x line (EOL) has no confirmed fixed version, so move to 7.5.0 or 6.13.0. The 6.x line has no fix for CVE-2026-133644, so declare the request type restriction on the action class. Until you update, do not rely on Fetch Metadata alone; protect state-changing actions with the Token Interceptor.
Update to at least the version for your product:
- Apache Struts 7 7.5.0 or later
- Apache Struts 6 6.13.0 or later
Summary
In Apache Struts apps that use the Bean Validation plugin, a submitted value in a validation message can be evaluated as an expression, which may allow remote code execution. The same release also fixes other flaws such as CSRF protection bypasses, script injection and oversized responses.
Exploit code is public
Affected when
- CVE-2026-104712 BigDecimal request values rendered through Struts tags
- CVE-2026-133636 relies only on Fetch Metadata for cross-site protection, or serves sensitive responses other sites can load
- CVE-2026-133637 Bean Validation plugin used
- CVE-2026-133637 Struts 7 with the OGNL allowlist disabled
- CVE-2026-133638 Execute and Wait Interceptor used
- CVE-2026-133639 Javatemplates plugin used
- CVE-2026-133640 BigDecimal request values rendered as text through the property tag or a form field
- CVE-2026-133641 BigDecimal request values rendered with the number tag or passed to localized messages
- CVE-2026-133642 URL-pattern access restrictions in front of Struts
- CVE-2026-133643 doubleselect tag with doubleMultiple set
- CVE-2026-133644 HTTP method annotation on the action's default method
Incidents by product: Apache Struts · Struts
10 CVEs (every link below opens in a new tab)
Read the advisory · cwiki.apache.org (opens in a new tab)
Each of the 10 CVEs (every link below opens in a new tab)
- CVE-2026-133637A validation message can be evaluated as an expression, possibly allowing remote code execution. CVSS 8.8 CVE-2026-133637 advisory
- CVE-2026-133640The earlier fix missed some number outputs, so responses can still grow excessively. CVSS 7.5 CVE-2026-133640 advisory
- CVE-2026-133641Number tags and localized messages can build huge strings, exhausting server CPU and memory. CVSS 7.5 CVE-2026-133641 advisory
Show 7 more
- CVE-2026-104712Small requests can be made to produce huge responses, exhausting server CPU and network. CVSS 7.5
- CVE-2026-133639Unescaped extra tag attributes let a crafted request inject script into pages. CVSS 6.1 CVE-2026-133639 advisory
- CVE-2026-133643Unescaped values in the doubleselect script can run script in the page. CVSS 6.1 CVE-2026-133643 advisory
- CVE-2026-133636Cross-site requests that should be rejected get through, enabling forged requests and information leaks. Score pending CVE-2026-133636 advisory
- CVE-2026-133638Forged cross-site requests can pass token checks using tokens the app never issued. Score pending CVE-2026-133638 advisory
- CVE-2026-133642Requests can run a different action than the one the URL restriction checked, bypassing it. Score pending CVE-2026-133642 advisory
- CVE-2026-133644A request type restriction on the default method is ignored, so any type can invoke the action. Score pending CVE-2026-133644 advisory
- Advisory: cwiki.apache.org (opens in a new tab)
Discussion (9): seclists.org
- CVE-2026-133637: Apache Struts: Validation message evaluated as an expression in the Bean Validation plugin (opens in a new tab)
- CVE-2026-133636: Apache Struts: Fetch Metadata Interceptor accepts cross-site requests its resource isolation policy rejects (opens in a new tab)
- CVE-2026-133644: Apache Struts: HTTP method restriction declared on an action's default method is not enforced (opens in a new tab)
- CVE-2026-133643: Apache Struts: doubleselect tag writes a value into the page script without script escaping (opens in a new tab)
- CVE-2026-133642: Apache Struts: Action mapped from a path that differs from the one the servlet container authorized (opens in a new tab)
- CVE-2026-133641: Apache Struts: Disproportionate expansion of BigDecimal request parameters in the number tag and localized messages (opens in a new tab)
- CVE-2026-133640: Apache Struts: Incomplete fix for CVE-2026-104712: disproportionate response size when rendering BigDecimal request parameters (opens in a new tab)
- CVE-2026-133639: Apache Struts: Javatemplates plugin writes additional tag attributes without HTML escaping (opens in a new tab)
- CVE-2026-133638: Apache Struts: Execute and Wait Interceptor lets the Token Interceptor accept a token the application did not issue (opens in a new tab)
- Newsletter: Risky Bulletin: NSA urges immediate PQC transition (opens in a new tab)
- KISA notice: KISA 보호나라: Apache 제품 보안 업데이트 권고 (opens in a new tab)
- Repository: arunmanni-ai/CVE-2026-133641 (opens in a new tab)