{"id":"GHSA-9pp5-9c7g-4r83","summary":"Spring Security authorization bypass for method security annotations on private methods","details":"Spring Security Aspects may not correctly locate method security annotations on private methods. This can cause an authorization bypass.\n\nYour application may be affected by this if the following are true:\n\n  *  You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and\n  *  You have Spring Security method annotations on a private method\nIn that case, the target method may be able to be invoked without proper authorization.\n\nYou are not affected if:\n\n  *  You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or\n  *  You have no Spring Security-annotated private methods","aliases":["CVE-2025-41232"],"modified":"2025-10-16T08:04:55.703819Z","published":"2025-05-21T15:30:33Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-05-21T18:31:29Z","nvd_published_at":"2025-05-21T12:16:21Z","cwe_ids":["CWE-693"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-41232"},{"type":"WEB","url":"https://github.com/spring-projects/spring-security/commit/bf2aaa1b1830e534ba651d422545ac08a115151b"},{"type":"WEB","url":"https://github.com/spring-projects/spring-security/commit/c972de5369a1261ab674a3f5e3a80e8ce3e8cdfb"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-security"},{"type":"WEB","url":"https://github.com/spring-projects/spring-security/releases/tag/6.4.6"},{"type":"WEB","url":"http://spring.io/security/cve-2025-41232"}],"affected":[{"package":{"name":"org.springframework.security:spring-security-aspects","ecosystem":"Maven","purl":"pkg:maven/org.springframework.security/spring-security-aspects"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.4.6"}]}],"versions":["6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-9pp5-9c7g-4r83/GHSA-9pp5-9c7g-4r83.json"}},{"package":{"name":"org.springframework.security:spring-security-core","ecosystem":"Maven","purl":"pkg:maven/org.springframework.security/spring-security-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.4.6"}]}],"versions":["6.4.0","6.4.1","6.4.2","6.4.3","6.4.4","6.4.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-9pp5-9c7g-4r83/GHSA-9pp5-9c7g-4r83.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}