
Cloud Vulnerability DB
A community-led vulnerabilities database
The Spring Framework annotation detection vulnerability (CVE-2025-41249) was discovered and disclosed on September 15, 2025. The vulnerability affects the Spring Framework's annotation detection mechanism, specifically impacting versions 6.2.0-6.2.10, 6.1.0-6.1.22, and 5.3.0-5.3.44. This security flaw occurs in applications using Spring Security's @EnableMethodSecurity feature, particularly when dealing with type hierarchies containing parameterized super types with unbounded generics (Spring Security).
The vulnerability stems from incorrect resolution of annotations on methods within type hierarchies that have parameterized super types with unbounded generics. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH), with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. The vulnerability has been classified under CWE-285 (Improper Authorization) (NVD).
The vulnerability primarily affects applications using Spring Security's @EnableMethodSecurity feature, potentially leading to authorization decision issues. Applications that don't use @EnableMethodSecurity or don't implement security annotations on methods in generic superclasses or generic interfaces are not affected by this vulnerability (Spring Security).
Users of affected versions are advised to upgrade to the corresponding fixed versions: Spring Framework 6.2.11 for open-source users, 6.1.23 for commercial users, and 5.3.45 for commercial users. Commercial customers using Spring Boot 2.7, 3.2, or 3.3 can utilize Spring Boot Hotfix releases 2.7.29.1, 3.2.18.1, and 3.3.15.1. No additional mitigation steps are necessary beyond the upgrade (Spring Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."