ghsa-9pp5-9c7g-4r83
Vulnerability from github
Published
2025-05-21 15:30
Modified
2025-05-21 18:31
Severity ?
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.
Your application may be affected by this if the following are true:
- You are using @EnableMethodSecurity(mode=ASPECTJ) and spring-security-aspects, and
- You have Spring Security method annotations on a private method In that case, the target method may be able to be invoked without proper authorization.
You are not affected if:
- You are not using @EnableMethodSecurity(mode=ASPECTJ) or spring-security-aspects, or
- You have no Spring Security-annotated private methods
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "org.springframework.security:spring-security-aspects" }, "ranges": [ { "events": [ { "introduced": "6.4.0" }, { "fixed": "6.4.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-41232" ], "database_specific": { "cwe_ids": [ "CWE-693" ], "github_reviewed": true, "github_reviewed_at": "2025-05-21T18:31:29Z", "nvd_published_at": "2025-05-21T12:16:21Z", "severity": "CRITICAL" }, "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)\u00a0and 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)\u00a0or spring-security-aspects, or\n * You have no Spring Security-annotated private methods", "id": "GHSA-9pp5-9c7g-4r83", "modified": "2025-05-21T18:31:29Z", "published": "2025-05-21T15:30:33Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-41232" }, { "type": "PACKAGE", "url": "https://github.com/spring-projects/spring-security" }, { "type": "WEB", "url": "http://spring.io/security/cve-2025-41232" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N", "type": "CVSS_V3" } ], "summary": "Spring Security authorization bypass for method security annotations on private methods" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.