CVE-2025-41232 — Vulnerability in...
Spring Security authorization bypass for method security annotations on private methods
Summary
Advisory Timeline
- First published May 21, 2025 (509 days ago).
- Last revised October 16, 2025 — 148 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 6.4.6 for org.springframework.security:spring-security-core -->
<!-- Update pom.xml dependency version to 6.4.6 for org.springframework.security:spring-security-aspects -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: maven (2).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.security:spring-security-core | maven | 6.4.0, 6.4.1, 6.4.2, 6.4.3 (+2 more) | 6.4.6 |
| org.springframework.security:spring-security-aspects | maven | 6.4.0, 6.4.1, 6.4.2, 6.4.3 (+2 more) | 6.4.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-693Protection Mechanism FailureMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-41232ADVISORY
- https://github.com/spring-projects/spring-security/commit/bf2aaa1b1830e534ba651d422545ac08a115151bWEB
- https://github.com/spring-projects/spring-security/commit/c972de5369a1261ab674a3f5e3a80e8ce3e8cdfbWEB
- https://github.com/spring-projects/spring-securityPACKAGE
- https://github.com/spring-projects/spring-security/releases/tag/6.4.6WEB
- https://spring.io/security/cve-2025-41232WEB
Frequently Asked Questions
- What is CVE-2025-41232?
- Spring Security authorization bypass for method security annotations on private methods This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2025-41232?
- CVE-2025-41232 affects org.springframework.security:spring-security-core and org.springframework.security:spring-security-aspects. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41232 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2023-34034CRITICAL
Access Control Bypass in Spring Security
- CVE-2024-38821CRITICAL
Spring Security vulnerable to Authorization Bypass of Static Resources in WebFlux Applications
- CVE-2022-22978CRITICAL
Authorization bypass in Spring Security
- CVE-2026-22732CRITICAL
Spring Security HTTP Headers Are not Written Under Some Conditions
- CVE-2022-31692CRITICAL
Spring Security authorization rules can be bypassed via forward or include dispatcher types
- CVE-2018-1260CRITICAL
Spring Security OAuth vulnerable to remote code execution (RCE)
- CVE-2026-41003HIGH
Spring Security SAML2 Service Provider: RelyingPartyRegistration may run arbitrary code on HTML forms generated by Spring Security filters
- CVE-2026-40988HIGH
Spring Security SAML2 Service Provider: Unbounded writer inflates the compressed SAML payload into memory (DoS)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies