Not scored
Apache Struts: Action mapped from a path that differs from the one the servlet container authorized
- Severity
- Not scored
- Exploit likelihood
- 0.38% (higher than 34% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.struts:struts2-core | from 2.1.2 up to 2.3.37, from 2.5.0 up to 2.5.33, from 6.0.0 up to 6.12.0, from 7.0.0 up to 7.4.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-133642 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-133642 changed 2026-11-30 | Public domain |