{"id":"CVE-2025-41248","state":"PUBLISHED","title":"CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types","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.\n\nYour application may be affected by this if you are using Spring Security's @EnableMethodSecurity feature.\n\nYou 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.\n\nThis CVE is published in conjunction with  CVE-2025-41249 https://spring.io/security/cve-2025-41249 .","publishedAt":"2025-09-16T10:10:59.953Z","updatedAt":"2025-09-18T06:29:51.189Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"vmware"},"assigner":"vmware","products":["VMware Spring Security"],"affected":[{"vendor":"VMware","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"6.4.x","status":"affected","lessThan":"6.4.11","versionType":"OSS"},{"version":"6.5.x","status":"affected","lessThan":"6.5.5","versionType":"OSS"}]}],"references":["https://spring.io/security/cve-2025-41248"],"weaknesses":["CWE-289"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/41xxx/CVE-2025-41248.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-41248","state":"PUBLISHED","datePublished":"2025-09-16T10:10:59.953Z","dateUpdated":"2025-09-18T06:29:51.189Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2025-04-16T09:30:25.625Z"},"containers":{"cna":{"title":"CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types","descriptions":[{"lang":"en","value":"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.\n\nYour application may be affected by this if you are using Spring Security's @EnableMethodSecurity feature.\n\nYou 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.\n\nThis CVE is published in conjunction with  CVE-2025-41249 https://spring.io/security/cve-2025-41249 ."}],"affected":[{"vendor":"VMware","product":"Spring Security","defaultStatus":"unaffected","versions":[{"version":"6.4.x","status":"affected","lessThan":"6.4.11","versionType":"OSS"},{"version":"6.5.x","status":"affected","lessThan":"6.5.5","versionType":"OSS"}]}],"references":[{"url":"https://spring.io/security/cve-2025-41248"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2025-09-18T06:29:51.189Z"},"datePublic":"2025-09-15T18:27:00.000Z","source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-16T19:27:50.837990Z","id":"CVE-2025-41248","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-289","type":"CWE","lang":"en","description":"CWE-289 Authentication Bypass by Alternate Name"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-16T19:28:23.179Z"}}]}}}