Apache Struts: HTTP method restriction declared on an action's default method is not enforced

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 20, 2026

Read the record on cve.org

Description

Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default method and the action mapping does not name that method explicitly, the restriction is not enforced and the action can be invoked with any HTTP method. Applications that do not use these annotations are not affected. Actions that carry the annotation on the action class enforce the restriction as documented.

This issue affects Apache Struts: from 6.2.0 through 6.13.0, from 7.0.0 through 7.4.0.

Users are recommended to upgrade to version 7.5.0, which fixes the issue. The 6.x maintenance line does not carry the fix; on 6.x, declare the restriction on the action class instead of on the method.

ProductVersions
Apache Struts Apache Software Foundation6.2.0 through 6.13.0 Affected7.0.0 through 7.4.0 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.