Severity: important 

Affected versions:

- Apache Struts 2.1.2 through 2.3.37
- Apache Struts 2.5.0 through 2.5.33
- Apache Struts 6.0.0 through 6.12.0
- Apache Struts 7.0.0 through 7.4.0

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.

Credit:

Svyatoslav Berestovsky (finder)
Gouri Sankar A (g0w6y) (reporter)
Yu Deshui (于得水), (@qiushui_sky) (reporter)

References:

https://cwiki.apache.org/confluence/display/WW/S2-086
https://struts.apache.org/
https://www.cve.org/CVERecord?id=CVE-2026-133642

Reply via email to