Skip to main content
← All vulnerabilities
CVE-2025-41249GHSA-JMP9-X22R-554X

CVE-2025-41249: Spring Framework Annotation Detection Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.11, 6.1.23, 5.3.45
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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 .

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • VMware Spring Framework

    From 6.2.x · fixed in 6.2.11; From 6.1.x · fixed in 6.1.23; From 5.3.x · fixed in 5.3.45

  • org.springframework:spring-coreMaven

    From 5.3.0 · through 5.3.44

  • org.springframework:spring-coreMaven

    From 6.0.0 · through 6.1.22

  • org.springframework:spring-coreMaven

    From 6.2.0 · fixed in 6.2.11

References 2

spring.io

GitHub · edwin/simulating-cve-2025-41249