Apache Struts 2 Core auth bypass in HTTP method restrictions on default actions
Only affects Apache Struts 6.2.0 through 6.13.0 and 7.0.0 through 7.4.0 where an action uses HTTP method annotations on its default method. Fixed in 7.5.0.
- Exploited
- No known exploitation
- Fix
- Fixed in 7.5.0
- Who is exposed
- Not reported
Summary
In Apache Struts, an HTTP method restriction such as @HttpPost placed on an action's default method is not enforced when the action mapping does not name that method, so the action can be called with any HTTP method. Only applications that use these annotations this way are affected.
Written by a model
Original description
Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default method and the action mapping does not name that method explicitly, the restriction is not enforced and the action can be invoked with any HTTP method. Applications that do not use these annotations are not affected. Actions that carry the annotation on the action class enforce the restriction as documented.
This issue affects Apache Struts: from 6.2.0 through 6.13.0, from 7.0.0 through 7.4.0.
Users are recommended to upgrade to version 7.5.0, which fixes the issue. The 6.x maintenance line does not carry the fix; on 6.x, declare the restriction on the action class instead of on the method.
Who should check
Teams running Apache Struts 6.2.0-6.13.0 or 7.0.0-7.4.0 (struts2-core) whose actions put @HttpPost-style annotations on the default method without naming that method in the action mapping.
Not fixed by: The 6.x maintenance line does not carry the fix.
“from 6.2.0 through 6.13.0, from 7.0.0 through 7.4.0”
What to do
Upgrade to a fixed version: 7.5.0.
Workaround: On 6.x, declare the restriction on the action class instead of on the method.
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-133644 (Apache Struts: HTTP method restriction declared on an action's default method is not enforced), 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-133644 (entry last updated 2026-11-30):
Affected:
- Maven package org.apache.struts:struts2-core: from 6.2.0, through 6.13.0; from 7.0.0, through 7.4.0
Fixed versions: 7.5.0.
Conditions (all must be true for the bug to be hit):
- Affected versions: Apache Struts 6.2.0 through 6.13.0 and 7.0.0 through 7.4.0 (source: https://www.openwall.com/lists/oss-security/2026/11/30/13)
- Action places an HTTP method annotation (such as @HttpPost) on its default method, and the action mapping does not name that method explicitly (source: https://www.openwall.com/lists/oss-security/2026/11/30/13)
- Application uses the HTTP method annotations (source: https://www.openwall.com/lists/oss-security/2026/11/30/13)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Workaround: On 6.x, declare the restriction on the action class instead of on the method. (source: https://www.openwall.com/lists/oss-security/2026/11/30/13)
CISA KEV: CVE-2026-133644 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-133644 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-088
- http://www.openwall.com/lists/oss-security/2026/11/30/13
- https://www.openwall.com/lists/oss-security/2026/11/30/13
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-133644
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-133644"}.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
- Severity1/10Rated low by apache
- No patch0/5No signal
What would change the score
- Would score about 66 if added to CISA KEV
- Would score about 61 if CISA's SSVC rates exploitation active
- Would score about 33 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-088 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-133644 |
| Record | NVD · CVE-2026-133644 |
| Write-ups 1Establishes: Technical detail and context. | |
| Link | openwall.com · lists/oss-security/2026/11/30/13 |
Questions about CVE-2026-133644
Is CVE-2026-133644 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?
An HTTP method restriction declared on an action's default method is not enforced, so an attacker can invoke the action with any HTTP method.
Source: openwall.com, cwiki.apache.org
Which versions are affected by CVE-2026-133644?
org.apache.struts:struts2-core (Maven): from 6.2.0 through 6.13.0; from 7.0.0 through 7.4.0.
Source: cve.now feed data
Am I affected, and how do I check?
Affected are Apache Struts 6.2.0 through 6.13.0 and 7.0.0 through 7.4.0 where an action places an HTTP method annotation such as @HttpPost on its default method and the action mapping does not name that method explicitly. Applications that do not use these annotations are not affected. To check, look for HTTP method annotations on action default methods in the code and confirm the Struts version in the project's dependencies.
Source: openwall.com, cwiki.apache.org
How do I fix CVE-2026-133644?
Upgrade to Apache Struts 7.5.0, which fixes the issue. On 6.x, the workaround is to declare the restriction on the action class instead of on the method.
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.