UNRATED

CVE-2026-133644

Apache Struts: HTTP method restriction declared on an action's default method is not enforced

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-corepreliminary
>= 6.2.0, <= 6.13.0>= 7.0.0, <= 7.4.0
-

Blast radius

1affected artifacts
51affected versions
177dependent artifacts (est.)
22,472dependent versions

79% of the dependent artifacts (141) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,332
2 hops
13,112
3 hops
5,156
4 hops
1,714
5 hops
158

Most used dependents

Computed from the dependency graph of build 20261129.2353 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.