UNRATED

CVE-2026-133642

Apache Struts: Action mapped from a path that differs from the one the servlet container authorized

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

Interpretation conflict vulnerability in Apache Struts. When deciding which action a request invokes, Struts derived the path from the request as it was received rather than from the path the servlet container had already decoded and normalised. The two can differ, so a request can be authorized by the container, by a filter or by a reverse proxy under one path and executed by Struts as a different action. Where access to actions is restricted by URL pattern in front of Struts, such as a security-constraint, a URL-pattern filter or a proxy rule, that restriction can be bypassed. For the same reason, a request could be handled by Struts although its path matched struts.action.excludePattern. Applications that enforce authorization inside Struts, for example with an interceptor on the action, apply it to the action that actually runs and are not affected by the bypass.

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.struts » struts2-corepreliminary
>= 2.1.2, <= 2.3.37>= 2.5.0, <= 2.5.33>= 6.0.0, <= 6.12.0>= 7.0.0, <= 7.4.0
-

Blast radius

1affected artifacts
198affected versions
778dependent artifacts (est.)
278,736dependent versions

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

DepthDependent versions
Direct
23,423
2 hops
170,082
3 hops
69,454
4 hops
13,850
5 hops
1,575
6 hops
352

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.