CVE-2025-41232
CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods
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
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
9.1
CVE-2025-41232: Spring Security authorization bypass for method security annotations on private methods
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
- Record
CVE-2025-41232- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-693
- Updated
- 2026-11-02
EUVDEUVD-2025-15999
9.1
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
- Record
EUVD-2025-15999- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-9pp5-9c7g-4r83
9.1
Spring Security authorization bypass for method security annotations on private methods
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
- Record
GHSA-9pp5-9c7g-4r83- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-693
- Updated
- 2026-11-02
NVD
9.1
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
- Record
CVE-2025-41232- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-693
- Updated
- 2026-11-02
OSVGHSA-9pp5-9c7g-4r83
9.1
Spring Security authorization bypass for method security annotations on private methods
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
- Record
GHSA-9pp5-9c7g-4r83- CVSS 3.1
- 9.1 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-693
- Updated
- 2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-41232 No score
CVE-2025-41232 in org.springframework.security:spring-security-core - Patched by Root
Root has patched CVE-2025-41232 in the org.springframework.security:spring-security-core package for Root:Maven. Multiple fixed versions available.
- Record
ROOT-APP-MAVEN-CVE-2025-41232- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.springframework.security:spring-security-aspectsMaven |
6.4.0 up to 6.4.6 | 6.4.6 |
org.springframework.security:spring-security-coreMaven |
6.4.0 up to 6.4.6 | 6.4.6 |
org.springframework.security:spring-security-aspectsMaven |
6.4.0 up to 6.4.6, plus listed versions 6.4.16.4.26.4.36.4.46.4.5 |
6.4.6 |
org.springframework.security:spring-security-coreMaven |
6.4.0 up to 6.4.6, plus listed versions 6.4.16.4.26.4.36.4.46.4.5 |
6.4.6 |
org.springframework.security:spring-security-coreRoot:Maven |
before 6.4.2-aikido.2 | 6.4.2-aikido.26.4.2-aikido.1 |
io.root.org.springframework.security:spring-security-coreRoot:Maven |
before 6.4.2-root.io.2 | 6.4.2-root.io.26.4.2-root.io.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-41232 is a critical vulnerability (CVSS 9.1) in Spring Security, published May 21, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.62%, the 49th percentile. Fixed in org.springframework.security:spring-security-aspects 6.4.6.
References
spring.io/security/cve-2025-41232
nvd.nist.gov/vuln/detail/CVE-2025-41232
github.com/spring-projects/spring-security/commit/bf2aaa1b1830e534ba651d422545ac08a115151b
github.com/spring-projects/spring-security/commit/c972de5369a1261ab674a3f5e3a80e8ce3e8cdfb
github.com/spring-projects/spring-security/releases/tag/6.4.6
github.com/advisories/GHSA-9pp5-9c7g-4r83
github.com/spring-projects/spring-security