CVE-2025-41248
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 .
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.450% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 7.5 · published by vmwareCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Assessment source · checked 2026-11-19T12:57:33.113Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:33.113Z | CVE Program |
| epss | verified | 2026-11-19T16:04:40.990Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:10.865Z | OSV |
| affected | verified | 2026-11-19T12:57:33.113Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:33.113Z | CVE Program |
Affected versions and configuration
VMware Spring Security; default status: unaffected: 6.4.x to < 6.4.11 [affected; scheme: OSS]; 6.5.x to < 6.5.5 [affected; scheme: OSS]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "VMware",
"product": "Spring Security",
"versions": [
{
"status": "affected",
"version": "6.4.x",
"lessThan": "6.4.11",
"versionType": "OSS"
},
{
"status": "affected",
"version": "6.5.x",
"lessThan": "6.5.5",
"versionType": "OSS"
}
],
"defaultStatus": "unaffected"
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2025-41248",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2025-09-16T19:27:50.837990Z"
}
}
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"type": "CWE",
"cweId": "CWE-289",
"description": "CWE-289 Authentication Bypass by Alternate Name"
}
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-09-16T19:28:23.179Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-8v5q-rhf3-jphm",
"aliases": [
"CVE-2025-41248"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.10"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-core",
"purl": "pkg:maven/org.springframework.security/spring-security-core",
"ecosystem": "Maven"
},
"versions": [
"6.4.0",
"6.4.1",
"6.4.2",
"6.4.3",
"6.4.4",
"6.4.5",
"6.4.6",
"6.4.7",
"6.4.8",
"6.4.9"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-8v5q-rhf3-jphm/GHSA-8v5q-rhf3-jphm.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.4"
}
]
}
],
"package": {
"name": "org.springframework.security:spring-security-core",
"purl": "pkg:maven/org.springframework.security/spring-security-core",
"ecosystem": "Maven"
},
"versions": [
"6.5.0",
"6.5.1",
"6.5.2",
"6.5.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-8v5q-rhf3-jphm/GHSA-8v5q-rhf3-jphm.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-41248",
"type": "ADVISORY"
},
{
"url": "https://github.com/spring-projects/spring-security/issues/17898",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security/issues/17899",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security/commit/d0f93fa6d8338149943ae640c53db07de827867f",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security/commit/e5694ac7b5e4394b920c6cab48b7bfbd871f84bd",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security",
"type": "PACKAGE"
},
{
"url": "https://github.com/spring-projects/spring-security/releases/tag/6.4.10",
"type": "WEB"
},
{
"url": "https://github.com/spring-projects/spring-security/releases/tag/6.5.4",
"type": "WEB"
},
{
"url": "https://spring.io/security/cve-2025-41248",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-289",
"CWE-863"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2025-09-16T11:15:30Z",
"github_reviewed_at": "2025-09-16T19:34:33Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-core | Not a distribution channel | 6.4.10 | Official record |
| ecosystem-boundary | Maven / package | org.springframework.security:spring-security-core | Not a distribution channel | 6.5.4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:10.865ZArchived source JSON
Source publication: 2025-09-16T15:32:34.000Z
Source modification: 2026-09-10T03:50:28.136ZDocument fingerprint
62f9b841ba12eb551448657b24bc079930df60ce0c3ea720898179c2aa4fc65e - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:57:33.113ZArchived source JSON
Source publication: 2025-09-16T10:10:59.953Z
Source modification: 2025-09-18T06:29:51.189ZDocument fingerprint
eec51efcf0cc6c3b395cde41d4085d592b4071f90d440e7560c243764cf2515d - FIRST EPSSConsulted: 2026-11-19T16:04:40.990ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a61f5deec65b1a30b54fc6ad686dda6767c11c22f88b3bf1af4c6db9cb0d67b3
Official status history
- UNKNOWN → PUBLISHED · · evidence