# CVE-2022-31692: Spring Security authorization rules can be bypassed via forward or include dispatcher types

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.73% (percentile 87, 2026-11-26)
- **CWE:** CWE-639
- **Aliases:** GHSA-mmmh-wcxm-2wr4
- **Published:** 2022-10-31T00:00:00.000Z
- **Modified:** 2026-06-17T04:46:05.523Z

## 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

## 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

- Maven `org.springframework.security:spring-security-core`: affected \>= 5.7.0, \< 5.7.5; fixed 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)

## Mitigation

- Upgrade org.springframework.security:spring-security-core to one of 5.7.5, 5.6.9 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://tanzu.vmware.com/security/cve-2022-31692>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-31692>
- other: <https://security.netapp.com/advisory/ntap-20221215-0010/>
- other: <https://github.com/spring-projects/spring-security>
- other: <https://security.netapp.com/advisory/ntap-20221215-0010>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-31692>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-mmmh-wcxm-2wr4> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-31692> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-31692>
