CVE-2025-41249 CVE-2025-41249: Spring Framework Annotation Detection Vulnerability
Attackers can bypass method-level security checks in Spring applications using generic superclasses, potentially accessing protected resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-41249?
CVE-2025-41249 is a high-severity authentication bypass vulnerability in VMware Spring Framework, published on 16 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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 .
Weakness: CWE-285
Which versions are affected by CVE-2025-41249?
6 open source packages ship an affected version, including org.springframework:spring-core.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework:spring-core Maven | From 5.3.0 to 5.3.44 | None |
org.springframework:spring-core Maven | From 5.3.0 to 5.3.44 | None |
org.springframework:spring-core Maven | From 6.0.0 to 6.1.22 | None |
org.springframework:spring-core Maven | From 6.0.0 to 6.1.22 | None |
org.springframework:spring-core Maven | From 6.2.0 | 6.2.11 |
org.springframework:spring-core Maven | From 6.2.0 | 6.2.11 |
How do I fix CVE-2025-41249?
Upgrade org.springframework:spring-core to 6.2.11 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2025-41249 being exploited?
There is no known exploitation of CVE-2025-41249 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as CLEANSTART-2026-BH37333, CLEANSTART-2026-FT93686, CLEANSTART-2026-SV89118, CLEANSTART-2026-UC97457, CLSA-2025-1759190769, CLSA-2025-1759795580 and 18 more.