CVE-2022-31692
Spring Security authorization rules can be bypassed via forward or include dispatcher types
Also known as GHSA-mmmh-wcxm-2wr4
Mitigation
- Upgrade org.springframework.security:spring-security-core to one of 5.7.5, 5.6.9 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.springframework.security:spring-security-core (>= 5.7.0, < 5.7.5)
- Anyone running Spring by VMware 5.7 to 5.7.4, 5.6 to 5.6.8 and older versions
Vulnerability facts
- Affected
- org.springframework.security:spring-security-core >= 5.7.0, < 5.7.5
- Fixed in
- 5.7.5, 5.6.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 2.73% chance of exploitation in 30 days (percentile 87, 2026-11-26)
- CWE
- CWE-639
- Modified
Description
Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.springframework.security:spring-security-core | >= 5.7.0, < 5.7.5 | 5.7.5, 5.6.9 | osv |
| Spring by VMware | 5.7 to 5.7.4, 5.6 to 5.6.8 and older versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-31692. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-31692.md Affected: org.springframework.security:spring-security-core >= 5.7.0, < 5.7.5 Fixed in: 5.7.5, 5.6.9 Steps: 1. Search this machine and project for org.springframework.security:spring-security-core (Maven), Spring by VMware: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2022-31692 being exploited?
There is no confirmed exploitation: CVE-2022-31692 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.73% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-31692?
Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2022-31692?
org.springframework.security:spring-security-core >= 5.7.0, < 5.7.5.
Is there a fix for CVE-2022-31692?
Yes. Fixed in 5.7.5, 5.6.9. Upgrade org.springframework.security:spring-security-core to one of 5.7.5, 5.6.9 (or later in the same release line).
How do I check if I'm affected by CVE-2022-31692?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.