GHSA-9pp5-9c7g-4r83

Suggest an improvement
Source
https://github.com/advisories/GHSA-9pp5-9c7g-4r83
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/05/GHSA-9pp5-9c7g-4r83/GHSA-9pp5-9c7g-4r83.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-9pp5-9c7g-4r83
Aliases
  • CVE-2025-41232
Published
2025-05-21T15:30:33Z
Modified
2025-05-21T19:42:06.458479Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
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
Database specific
{
    "nvd_published_at": "2025-05-21T12:16:21Z",
    "cwe_ids": [
        "CWE-693"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2025-05-21T18:31:29Z"
}
References

Affected packages

Maven / org.springframework.security:spring-security-aspects

Package

Name
org.springframework.security:spring-security-aspects
View open source insights on deps.dev
Purl
pkg:maven/org.springframework.security/spring-security-aspects

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.4.0
Fixed
6.4.6

Affected versions

6.*

6.4.0
6.4.1
6.4.2
6.4.3
6.4.4
6.4.5