Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThe Spring Framework annotation detection mechanism may not correctly resolve annotations on methods within type hierarchies with a parameterized super type with unbounded generics. This can be an issue if such annotations are used for authorization decisions.
Your application may be affected by this if you are using Spring Security's @EnableMethodSecurity
feature.
You are not affected by this if you are not using @EnableMethodSecurity
or if you do not use security annotations on methods in generic superclasses or generic interfaces.
This CVE is published in conjunction with CVE-2025-41248.
Spring Framework:
Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s) | Fix version | Availability |
---|---|---|
6.2.x | 6.2.11 | OSS |
6.1.x | 6.1.23 | Commercial |
6.0.x | N/A | Out of support |
5.3.x | 5.3.45 | Commercial |
No further mitigation steps are necessary.
The issue was identified and responsibly reported by an anonymous individual.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy