Spring Framework Authorization Vulnerability Affecting Application Security
CVE-2025-41249
7.5HIGH
What is CVE-2025-41249?
The Spring Framework's annotation detection mechanism may fail to properly resolve annotations on methods in type hierarchies with parameterized super types featuring unbounded generics. This could pose a risk in scenarios where such annotations are integral to authorization decisions. Applications leveraging Spring Security's @EnableMethodSecurity feature might be particularly vulnerable, especially if security annotations are applied to methods in generic superclasses or interfaces. Those not using @EnableMethodSecurity or security annotations in the indicated contexts are not affected.
Affected Version(s)
Spring Framework 6.2.x
Spring Framework 6.2.x < 6.2.11
Spring Framework 6.1.x < 6.1.23
References
CVSS V3.1
Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved