CVE-2025-41249 Details
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 .
A vulnerability exists in the Spring Framework's annotation detection mechanism, which may fail to accurately resolve annotations on methods within type hierarchies that have a parameterized super type with unbounded generics. This issue is particularly relevant when such annotations are utilized for authorization decisions. Applications using Spring Security's @EnableMethodSecurity feature may be affected. However, those not using @EnableMethodSecurity or security annotations on methods in generic superclasses or interfaces are not impacted.
Users of Spring Framework versions 6.2.x, 6.1.x, and 5.3.x should upgrade to the respective fixed versions. Version 6.2.11 is available for open-source users, while version 6.1.23 and 5.3.45 are available through Spring's commercial offering. Users of version 6.0.x should note that this version is out of support.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 16, 2025CISA-ADP
Assessed Sep 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2025-41249 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-285 | Improper Authorization | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Spring Framework | >= 6.2.0, <= 6.2.10 (semver) >= 6.1.0, <= 6.1.22 (semver) >= 5.3.0, <= 5.3.44 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | New CVE Received | [email protected] |
Volerion