Every CVE Search/ Get API key

CVE-2025-41248

CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types

7.5 HighFix available

CVE-2025-41248 is a high vulnerability (CVSS 7.5) in Spring Security, published September 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.45%, the 39th percentile. Fixed in org.springframework.security:spring-security-core 6.4.10.

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 .

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

0.45%Up 0.4 points since Sep 16, 2025
90%50%10%1%

What each source reports

CVE List Score used 7.5

CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types

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 .

Record
CVE-2025-41248
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-289
Updated
2026-11-02
EUVDEUVD-2025-29538 7.5

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 .

Record
EUVD-2025-29538
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-8v5q-rhf3-jphm 7.5

Spring Security annotation detection mechanism has authorization bypass

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 .

Record
GHSA-8v5q-rhf3-jphm
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-289, CWE-863
Updated
2026-11-02
NVD 7.5

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 .

Record
CVE-2025-41248
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-289
Updated
2026-11-02
OSVGHSA-8v5q-rhf3-jphm 7.5

Spring Security annotation detection mechanism has authorization bypass

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 .

Record
GHSA-8v5q-rhf3-jphm
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-289, CWE-863
Updated
2026-11-02
OSVCLSA-2026-1775694712 No score

TuxCare security update for org.springframework.security (5 CVEs)

TuxCare rebuilt 4 org.springframework.security packages to address 5 CVEs. Fixed in 6.4.3-tuxcare.1.

Record
CLSA-2026-1775694712
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-41248 No score

CVE-2025-41248 in org.springframework.security:spring-security-core - Patched by Root

Root has patched CVE-2025-41248 in the org.springframework.security:spring-security-core package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2025-41248
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-core
Maven
6.4.0 up to 6.4.10
6.4.10
org.springframework.security:spring-security-core
Maven
6.5.0 up to 6.5.4
6.5.4
org.springframework.security:spring-security-config
TuxCare:Maven
6.4.3 up to 6.4.3-tuxcare.1
6.4.3-tuxcare.1
org.springframework.security:spring-security-core
TuxCare:Maven
6.4.3 up to 6.4.3-tuxcare.1
6.4.3-tuxcare.1
org.springframework.security:spring-security-crypto
TuxCare:Maven
6.4.3 up to 6.4.3-tuxcare.1
6.4.3-tuxcare.1
org.springframework.security:spring-security-web
TuxCare:Maven
6.4.3 up to 6.4.3-tuxcare.1
6.4.3-tuxcare.1
org.springframework.security:spring-security-core
Maven
6.4.0 up to 6.4.10, plus listed versions
6.4.16.4.26.4.36.4.46.4.5
Show 4 moreShow less
6.4.66.4.76.4.86.4.9
6.4.10
org.springframework.security:spring-security-core
Maven
6.5.0 up to 6.5.4, plus listed versions
6.5.16.5.26.5.3
6.5.4
org.springframework.security:spring-security-core
Root:Maven
before 6.4.2-aikido.2
6.4.2-aikido.26.5.0-aikido.2
io.root.org.springframework.security:spring-security-core
Root:Maven
before 6.4.2-root.io.2
6.4.2-root.io.26.5.0-root.io.2

History

History
WhenChangedSources
2026-11-02createdCVE List, EUVD, GitHub Advisories, NVD, OSV

References

Show 4 moreShow less
MoveEnter Open