CVE-2022-31692
published critical CVSS 3.1 · 9.8spring-security: Authorization rules can be bypassed via forward or include dispatcher types in Spring Security
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | Spring by VMware5.7 to 5.7.4, 5.6 to 5.6.8 and older versions | Affected | Not stated | vmware |
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)
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | Spring by VMware | 5.7 to 5.7.4, 5.6 to 5.6.8 and older versions (affected) | vmware · cna |
Weaknesses
2- Spring is susceptible to authorization rules bypass via forward or include dispatcher types.
- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
References
2Provider assertions
3vmware · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 73a2a0f8dfd236698356ca7903bb75082d6f412a373cf4089a360cb898f68aca
- Ingested
- 23 Sep 2026, 08:00:34 UTC
- Source record
- Official CVE record