CVE-2022-31692 — Vulnerability in...
Spring Security authorization rules can be bypassed via forward or include dispatcher types
Summary
Advisory Timeline
- First published November 1, 2022 (1441 days ago).
- Last revised February 17, 2024 — 473 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 5.6.9 for org.springframework.security:spring-security-core -->
<!-- Update pom.xml dependency version to 5.7.5 for org.springframework.security:spring-security-core -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.security:spring-security-core | maven | 5.6.0, 5.6.1, 5.6.2, 5.6.3 (+5 more) | 5.6.9 |
| org.springframework.security:spring-security-core | maven | 5.7.0, 5.7.1, 5.7.2, 5.7.3 (+1 more) | 5.7.5 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-863Incorrect AuthorizationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2022-31692?
- Spring Security authorization rules can be bypassed via forward or include dispatcher types This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2022-31692?
- CVE-2022-31692 affects org.springframework.security:spring-security-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-31692 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-2025-41232CRITICAL
Spring Security authorization bypass for method security annotations on private methods
- 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-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