Vulnerabilityin VMware Spring Security.
No public exploit found; not on exploited lists.
The Spring Security 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 when using @PreAuthorize and other method security annotations, resulting in an authorization bypass. 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-41249 https://spring.io/security/cve-2025-41249 .
- Upgrade Spring Security to 6.4.11, 6.5.5 or later, whichever matches your release line.
- Upgrade org.springframework.security:spring-security-core (Maven) to 6.4.10, 6.5.4 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Apr 2025CVE ID reserved by vmware.
- 16 Sep 2025Published in the CVE List.
- 18 Sep 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Spring Security vulnerabilities
Same weakness:
Patchminder. CVE-2025-41248: Vulnerability in VMware Spring Security. https://patchminder.com/cve/cve-2025-41248/ (accessed 5 December 2026).