Apache Struts 2 Core CSRF protection bypass in token interceptor
Affects Apache Struts 2.1.2 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0 and 7.0.0 through 7.4.0 on actions that use the Execute and Wait Interceptor. Fixed in 6.13.0 and 7.5.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 6.13.0, 7.5.0
- Who is exposed
- Not reported
Summary
Apache Struts is affected when the Execute and Wait Interceptor is used, because a request to such an action can make the Token and Token Session Interceptors accept a token the application never issued. This lets a cross-site request get past the protection against cross-site request forgery that those interceptors provide.
Written by a model
Original description
Cross-site request forgery (CSRF) vulnerability in Apache Struts. If the application uses the Execute and Wait Interceptor, a request to such an action could cause the Token Interceptor and the Token Session Interceptor to accept a token the application never issued, so a cross-site request could defeat the protection these interceptors give against cross-site request forgery. Applications that do not use the Execute and Wait Interceptor, or that do not rely on the Token Interceptor or the Token Session Interceptor, are not affected.
This issue affects Apache Struts: from 2.1.2 through 2.3.37, 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 (struts2-core via Maven) with the Execute and Wait Interceptor and the Token or Token Session Interceptor, on 2.1.2–2.3.37, 2.5.0–2.5.33, 6.0.0–6.12.0 or 7.0.0–7.4.0.
“If the application uses the Execute and Wait Interceptor”
What to do
Upgrade to a fixed version: 6.13.0, 7.5.0.
Workaround: Declare the Token Interceptor or the Token Session Interceptor before the Execute and Wait Interceptor on every action that uses it, and submit to those actions only from pages that carry a token.
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-133638 (Apache Struts: Execute and Wait Interceptor lets the Token Interceptor accept a token the application did not issue), 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-133638 (entry last updated 2026-11-30):
Affected:
- Maven package org.apache.struts:struts2-core: from 2.1.2, through 2.3.37; 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 Execute and Wait Interceptor on an action. (source: https://www.openwall.com/lists/oss-security/2026/11/30/7)
- Application relies on the Token Interceptor or the Token Session Interceptor. (source: https://cwiki.apache.org/confluence/spaces/WW/pages/451980096/S2-082)
- Affected Struts versions: 2.1.2 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, 7.0.0 through 7.4.0. (source: https://www.openwall.com/lists/oss-security/2026/11/30/7)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Workaround: Declare the Token Interceptor or the Token Session Interceptor before the Execute and Wait Interceptor on every action that uses it, and submit to those actions only from pages that carry a token. (source: https://www.openwall.com/lists/oss-security/2026/11/30/7)
CISA KEV: CVE-2026-133638 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133638 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-082
- http://www.openwall.com/lists/oss-security/2026/11/30/7
- https://www.openwall.com/lists/oss-security/2026/11/30/7
- https://cwiki.apache.org/confluence/spaces/WW/pages/451980096/S2-082
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-133638
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-133638"}.Affected versions
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. Advisories don't say whether default setups are affected
- Reach10/20Affects Maven packages
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 65 if added to CISA KEV
- Would score about 60 if CISA's SSVC rates exploitation active
- Would score about 32 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Evidence 4
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | cwiki.apache.org · confluence/display/WW/S2-082 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-133638 |
| Record | NVD · CVE-2026-133638 |
| Write-ups 1Establishes: Technical detail and context. | |
| Link | openwall.com · lists/oss-security/2026/11/30/7 |
Questions about CVE-2026-133638
Is CVE-2026-133638 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?
The Execute and Wait Interceptor lets the Token Interceptor and Token Session Interceptor accept a token the application never issued. This bypasses their protection against cross-site request forgery, so a cross-site request can be accepted.
Source: openwall.com, cwiki.apache.org
Which versions are affected by CVE-2026-133638?
org.apache.struts:struts2-core (Maven): from 2.1.2 through 2.3.37; 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?
The bug needs both an action that uses the Execute and Wait Interceptor and a reliance on the Token Interceptor or Token Session Interceptor. It affects Struts 2.1.2 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0 and 7.0.0 through 7.4.0. To check a setup, look at the Struts version in use and search the action configuration for the Execute and Wait Interceptor.
Source: openwall.com, cwiki.apache.org
How do I fix CVE-2026-133638?
Upgrade to Struts 6.13.0 or 7.5.0, which fix the issue. Until then, declare the Token Interceptor or Token Session Interceptor before the Execute and Wait Interceptor on every action that uses it, and submit to those actions only from pages that carry a token.
Source: openwall.com, cwiki.apache.org
Related
- CVE-2026-104711Apache Struts: OGNL injection in the legacy RESTful action mapper
- CVE-2023-50164Apache Struts: File upload component had a directory traversal vulnerability
- CVE-2021-31805Forced OGNL evaluation, when evaluated on raw not validated user input in tag attributes, may lead to RCE.
- CVE-2020-17530Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.
- CVE-2019-0230Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code…
- CVE-2024-53677Apache Struts: Mixing setters for uploaded files and normal fields can allow bypass file upload checks
No corrections so far. Something wrong on this page? Report an error.