CVE-2025-41249: Spring Framework Annotation Detection Vulnerability
VMware Spring Framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-core Maven |
|
|
Original description
The 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.