Spring Security Vulnerable to Authorization Bypass via Security Annotations
Moderate severity
GitHub Reviewed
Published
Mar 24, 2025
to the GitHub Advisory Database
•
Updated Mar 24, 2025
Package
Affected versions
>= 6.4.0, < 6.4.4
Patched versions
6.4.4
Description
Published by the National Vulnerability Database
Mar 24, 2025
Published to the GitHub Advisory Database
Mar 24, 2025
Reviewed
Mar 24, 2025
Last updated
Mar 24, 2025
Spring Security 6.4.0 - 6.4.3 may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass.
You are not affected if you are not using @EnableMethodSecurity, or you do not have method security annotations on parameterized types or methods, or all method security annotations are attached to target methods
References