Apache Struts 6.9.0 Missed an HTTP Method Restriction
Apache Struts 6.9.0 has a method-level authorization defect that matters to applications with more than one HTTP route entering the same action. The project published CVE-2026-133649 on November 30, 2026 and assigned it to applications that use the framework's HTTP method annotations. A restriction declared on an action class was not enforced as the application expected. Struts 6.8.0 and earlier releases, along with the 7.x line, are outside the affected range.
The defect sits between configuration intent and request dispatch. A developer can annotate an action class to allow only specific verbs, then assume that an unsafe request reaches the method only after that check. In Struts 6.9.0, the class-level declaration did not enforce that boundary. The practical risk depends on what the action does. A read-only operation may reveal data through a verb the application did not intend to expose. A state-changing action may accept a request that the method policy was meant to block.
That distinction is important when triaging production systems. A Struts version match is evidence of exposure to the defect, not proof that an application has a dangerous action behind it. Teams should locate actions that use method annotations, then compare the declared verbs with every route that can dispatch to those actions. Container security constraints, proxy rules, and framework annotations can overlap without being equivalent. A deny rule at the edge may still be the only control for a path that the framework dispatches through another mapping.
The fixed release is Struts 6.10.0 or later on the 6.x line. Teams using 6.9.0 should upgrade and restart the affected application. After the update, test the actual HTTP verbs against protected actions. Include unusual methods, path variants, and requests that pass through rewrite rules. A successful GET that should be denied is a useful finding even when it returns no sensitive body, because it shows that the verb boundary is not working.
There are secondary checks that a scanner cannot infer from a version string. Review custom interceptors that inspect HttpServletRequest, because they may make assumptions about the original method. Check gateway transformations that normalize or override verbs. Search application logs for unexpected method values on actions that normally receive only POST or PUT. If the application allows method override parameters, include them in the test matrix.
Organizations should also improve the evidence they keep for this class of defect. Record the Struts version, the affected action class, the annotation or configuration that declares the restriction, and the result of a negative request. That record is more useful than a generic finding that says an old dependency is present. It lets responders decide whether to patch immediately, add a temporary edge rule, or investigate suspicious traffic.
References
- Apache Struts announcements, November 30, 2026: https://struts.apache.org/announce-2026
- Apache Struts S2-079 bulletin: https://cwiki.apache.org/confluence/display/WW/S2-079
- CVE-2026-133649: https://www.cve.org/CVERecord?id=CVE-2026-133649
Top comments (0)