CVE-2025-41248 json
CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types
published last yr. modified last mo. also GHSA-8v5q-rhf3-jphm , EUVD-2025-29538
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
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 .
Patch / fix
- maven org.springframework.security:spring-security-core 6.4.10, 6.5.4
- VMware Spring Security 6.4.11, 6.5.5
Is CVE-2025-41248 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-41248 updated cvss 7.5
org.springframework.security/spring-security-core: Spring Security authorization bypass
-
Red Hat Data Grid 8 spring-security-core Red Hat Fuse 7 spring-security-core Red Hat Single Sign-On 7 spring-security-coreaffected: workaround, no fix planned “Will not fix”
-
Red Hat HawtIO HawtIO 4.3.0fixed: vendor fix RHSA-2025:22765
-
Red Hat build of Apache Camel 4.10.7 for Spring Boot 3.4.10fixed: vendor fix RHSA-2025:18028
-
Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 devspaces 3.24-1760747489fixed: vendor fix RHSA-2025:19094
-
Red Hat JBoss Enterprise Application Platform 7 spring-security-corenot affected: component not present
-
Red Hat JBoss Enterprise Application Platform 8 spring-security-core Red Hat JBoss Enterprise Application Platform Expansion Pack spring-security-core Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 devspaces 3.24-1759870356, devspaces 3.24-1759871071, devspaces 3.24-1759871505, devspaces 3.24-1759871621, devspaces 3.24-1759871872, devspaces 3.24-1760653610, +9 morenot affected: vulnerable code not present
-
Red Hat Process Automation 7 spring-security-corenot affected: vulnerable code not in execute path
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework.security:spring-security-core | >=6.4.0, <6.4.10 >=6.5.0, <6.5.4 |
6.4.10 6.5.4 |
Affected products
- VMware Spring Security
Classification
- Weakness
- Technology feeds
References
-
github.com
/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f
web
-
github.com
/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd
web
-
spring.io
/security/cve-2025-41248
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-41248
advisory
-
github.com
/spring-projects/spring-security/issues/17898
web
-
github.com
/spring-projects/spring-security/issues/17899
web
-
github.com
/spring-projects/spring-security
package
-
github.com
/spring-projects/spring-security/releases/tag/6.4.10
web
-
github.com
/spring-projects/spring-security/releases/tag/6.5.4
web
Sources
- CVE List CVE-2025-41248
- GitHub Advisory GHSA-8v5q-rhf3-jphm
- NVD CVE-2025-41248
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.