CVE-2025-41248
Unknown
Unknown - Not Provided
BaseFortify
Publication date: 2025-09-16
Last updated on: 2025-09-16
Assigner: VMware
Description
Description
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 .
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| spring | spring_security | 6.4.2 |
| spring | spring_security | 6.5.1 |
| spring | spring_security | 6.4.9 |
| spring | spring_security | 6.5.4 |
| spring | spring_security | 6.4.4 |
| spring | spring_security | 6.4.10 |
| spring | spring_security | 6.4.7 |
| spring | spring_security | 6.5.3 |
| spring | spring_security | 6.4.5 |
| spring | spring_security | 6.5.2 |
| spring | spring_security | 6.4.8 |
| spring | spring_security | 6.4.0 |
| spring | spring_security | 6.4.1 |
| spring | spring_security | 6.4.6 |
| spring | spring_security | 6.5.0 |
| spring | spring_security | 6.4.3 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-289 | The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor. |