CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 3 fixed, 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.
Summary
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 .
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| VMware | Spring Security | 6.4.x to before 6.4.11; 6.5.x to before 6.5.5 | 6.4.11, 6.5.5 | Patch available | CNA |
| — | org.springframework.security:spring-security-core (Maven) | 6.4.0 to before 6.4.10 | 6.4.10 | Patch available | GHSA-8v5q-rhf3-jphm |
| — | org.springframework.security:spring-security-core (Maven) | 6.5.0 to before 6.5.4 | 6.5.4 | Patch available | GHSA-8v5q-rhf3-jphm |
- Spring Security VendorVMware Affected 6.4.x to before 6.4.11; 6.5.x to before 6.5.5 Fixed in 6.4.11, 6.5.5 Patch available CNA
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 6.4.0 to before 6.4.10 Fixed in 6.4.10 Patch available GHSA-8v5q-rhf3-jphm
- org.springframework.security:spring-security-core (Maven) Vendor— Affected 6.5.0 to before 6.5.4 Fixed in 6.5.4 Patch available GHSA-8v5q-rhf3-jphm
Remediation
- Fix · CNA Spring Security (VMware) Fixed in 6.4.11, 6.5.5
- Fix · GHSA-8v5q-rhf3-jphm org.springframework.security:spring-security-core (Maven) Fixed in 6.4.10 Advisory →
- Fix · GHSA-8v5q-rhf3-jphm org.springframework.security:spring-security-core (Maven) Fixed in 6.5.4 Advisory →
Red Hat 3 advisories
- RHSA-2025:22765 Released 2025-12-04 · Red Hat rating ImportantHawtIO 4.3.0 for Red Hat build of Apache Camel 4 Release and security update.
- HawtIO HawtIO 4.3.0
- RHSA-2025:19094 Released 2025-10-23 · Red Hat rating ImportantRed Hat OpenShift Dev Spaces 3.24.0 Release.
- Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 registry.redhat.io/devspaces/code-rhel9, registry.redhat.io/devspaces/dashboard-rhel9, registry.redhat.io/devspaces/openvsx-rhel9 +4
- RHSA-2025:18028 Released 2025-10-14 · Red Hat rating ImportantRed Hat Build of Apache Camel 4.10.7 for Spring Boot release.
- Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Data Grid 8 | Affected | No fix planned: Will not fix |
| Red Hat Fuse 7 | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7 | Affected | No fix planned: Will not fix |
| HawtIO HawtIO 4.3.0 | Fixed | RHSA-2025:22765 |
| Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 | Fixed | RHSA-2025:19094 |
| Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10 | Fixed | RHSA-2025:18028 |
Not affected: 5 products
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Dev Spaces (RHOSDS) 3.24
- Red Hat Process Automation 7
Timeline
- 2026-10-02 Threatist record created from CVE-2025-41248
- 2026-10-03 Alias added: GHSA-8v5q-rhf3-jphm
References
Other 8
- https://spring.io/security/cve-2025-41248
- https://github.com/spring-projects/spring-security/issues/17898
- https://github.com/spring-projects/spring-security/issues/17899
- https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f
- https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd
- https://github.com/spring-projects/spring-security
- https://github.com/spring-projects/spring-security/releases/tag/6.4.10
- https://github.com/spring-projects/spring-security/releases/tag/6.5.4
More VMware vulnerabilities
- TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
- TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
- TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2025-41248 · CVE Program
- CVE-2025-41248 · NVD
- FIRST EPSS
- GHSA-8v5q-rhf3-jphm · GitHub Advisory Database · CC BY 4.0
- CVE-2025-41248 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences