High severity · published Sep 16, 2025
CVE-2025-41249
CVE-2025-41249: Spring Framework Annotation Detection Vulnerability
7.5
CVSS
0.5%
EPSS
No
On KEV
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.
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 https://spring.io/security/cve-2025-41248 .
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 41% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SF
Spring Framework · VMware
6.2.x before 6.2.11; 6.1.x before 6.1.23; 5.3.x before 5.3.45 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-41249
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-41249
spring.io
https://spring.io/security/cve-2025-41249
More from Spring Framework
9.8
CVE-2022-22965
Spring Framework JDK 9+ Remote Code Execution Vulnerability
9.8
CVE-2026-59313
Server Sent Event stream corruption in Spring MVC functional web framework
9.8
CVE-2026-47892
Spring Framework Header Predicate Bypass in WebFlux Functional Endpoints
9.8
CVE-2026-47891
Spring Framework maxInMemorySize Bypassed in Jaxb2Decoder
9.8
CVE-2026-47890
Spring Framework Server Sent Event stream corruption while rendering fragments
