Struts path mismatch can bypass URL rules in front of it
CVE-2026-133642 lets a request authorized under one path run as a different action; fixed builds are 6.13.0 and 7.5.0.
Apache Struts has an important-severity authorization flaw, CVE-2026-133642, in which the framework can invoke a different action than the one a servlet container, filter, or reverse proxy already allowed.
When choosing which action a request invokes, Struts derived the path from the request as it arrived rather than from the path the container had already decoded and normalised. Those two can differ, so a security constraint, a URL-pattern filter, or a proxy rule written against one path can be bypassed. For the same reason, a request can still be handled by Struts even when its path matched the framework's action exclude pattern.
Applications that enforce authorization inside Struts, for example with an interceptor on the action that actually runs, apply that check to the action that executes and are not affected.
The issue covers Struts 2.1.2 through 2.3.37, 2.5.0 through 2.5.33, 6.0.0 through 6.12.0, and 7.0.0 through 7.4.0. Apache recommends upgrading to 6.13.0 or 7.5.0. Svyatoslav Berestovsky found the flaw.