CVE-2025-41248
published high CVSS 3.1 · 7.5CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| VMware | — | Spring Security6.4.x to < 6.4.11 · 6.5.x to < 6.5.5 · Other versions: unaffected | Affected | Not stated | vmware |
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 .
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| VMware | Spring Security | 6.4.x to < 6.4.11 (affected · OSS)6.5.x to < 6.5.5 (affected · OSS)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-289 CWE-289 Authentication Bypass by Alternate Name
References
1Provider assertions
2vmware · cna
CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- eec51efcf0cc6c3b395cde41d4085d592b4071f90d440e7560c243764cf2515d
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record