{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.security:spring-security-core.","exploited":"There is no known exploitation of CVE-2025-41248 in the wild and no public exploit code.","fix":"Upgrade org.springframework.security:spring-security-core to a fixed version for your release line: 6.4.10 or 6.5.4.","what":"CVE-2025-41248 is a high-severity missing authorization vulnerability in VMware Spring Security, published on 16 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-41248 and fix it if it is affected.\n\nWhat it is: CVE-2025-41248 is a high-severity missing authorization vulnerability in VMware Spring Security, published on 16 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-41248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.security:spring-security-core (Maven): affected from 6.4.0; fixed in 6.4.10\n- org.springframework.security:spring-security-core (Maven): affected from 6.4.0; fixed in 6.4.10\n- org.springframework.security:spring-security-core (Maven): affected from 6.5.0; fixed in 6.5.4\n- org.springframework.security:spring-security-core (Maven): affected from 6.5.0; fixed in 6.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-41248/ (Markdown: https://insights.sbomify.com/CVE-2025-41248/index.md)","id":"CVE-2025-41248","markdown":"https://insights.sbomify.com/CVE-2025-41248/index.md","name":"CVE-2025-41248","record":{"aliases":["CLEANSTART-2026-VH43982","ECHO-697c-1fee-1fce","GHSA-8v5q-rhf3-jphm","MINI-cvv4-65j9-9rww","MINI-pw7g-28fq-86xj","MINI-r87v-5426-7q35","MINI-wcjp-xpmq-7599","ROOT-APP-MAVEN-CVE-2025-41248"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Security library","requires_auth":"none","summary":"Attackers can bypass method security annotations in generic superclasses, allowing unauthorized access to protected methods in applications using Spring Security.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-289","name":"Authentication Bypass by Alternate Name"}],"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 .","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"CVE-2025-41248: Spring Security authorization bypass for method security annotations on parameterized types","id":"CVE-2025-41248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2025"},"n_packages":4,"n_references":1,"next":{"headline":"CVE-2025-41249: Spring Framework Annotation Detection Vulnerability","id":"CVE-2025-41249"},"packages":[{"ecosystem":"Maven","fixed":["6.4.10"],"introduced":["6.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-8v5q-rhf3-jphm"},{"ecosystem":"Maven","fixed":["6.4.10"],"introduced":["6.4.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-8v5q-rhf3-jphm"},{"ecosystem":"Maven","fixed":["6.5.4"],"introduced":["6.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":null,"source":"GHSA-8v5q-rhf3-jphm"},{"ecosystem":"Maven","fixed":["6.5.4"],"introduced":["6.5.0"],"last_affected":[],"package":"org.springframework.security:spring-security-core","purl":"pkg:maven/org.springframework.security/spring-security-core","source":"GHSA-8v5q-rhf3-jphm"}],"prev":{"headline":"Improper authorisation vulnerability","id":"CVE-2025-41246"},"products":["Spring Security"],"published":"2025-09-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-18","vendors":["VMware"]},"summary":"Attackers can bypass method security annotations in generic superclasses, allowing unauthorized access to protected methods in applications using Spring Security.","url":"https://insights.sbomify.com/CVE-2025-41248/"}