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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Spring by VMware | 5.7 to 5.7.4, 5.6 to 5.6.8 and older versions | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libspring-java | No fix yet | — |
| Ubuntu 26.04 LTS | libspring-java | No fix yet | — |
| Ubuntu 25.10 | libspring-java | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenShift 4 | haproxy +1 | 2.2.19-4.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | jenkins | 2.387.1.1680701869-1.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | jenkins-2-plugins | 4.10.1680703106-1.el8 | RHSA-2023:1655 |
| Red Hat OpenShift 4 | openshift +1 | 4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7 | RHSA-2023:1655 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
blipzip/cve-2022-31692 ★ 35 · Nov 3, 2022
A project demonstrating an app that is vulnerable to Spring Security authorization bypass CVE-2022-31692
-
hotblac/cve-2022-31692 ★ 0 · Oct 29, 2023
Demonstration of CVE-2022-31692 authorization bypass in Spring Security
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.security:spring-security-core | >= 5.7.0, < 5.7.5 | 5.7.5 | GHSA-mmmh-wcxm-2wr4 |
| Maven | org.springframework.security:spring-security-core | >= 5.6.0, < 5.6.9 | 5.6.9 | GHSA-mmmh-wcxm-2wr4 |
Advisories 11
- RHSA-2023:1655 Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2026-1955 Atlassian Bamboo, Bitbucket, Confluence, Fisheye, Crucible, Jira und Jira Service Management: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 23, 2026
- WID-SEC-2023-0126 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 28, 2026
- WID-SEC-2023-0138 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- WID-SEC-2023-0137 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 21, 2024
- WID-SEC-2024-0124 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2023-1813 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1808 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 18, 2023
- WID-SEC-2023-1021 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 29, 2023
- WID-SEC-2023-0493 Hitachi Ops Center: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Feb 27, 2023
- WID-SEC-2022-2348 NetApp ActiveIQ Unified Manager: Mehrere Schwachstellen ermöglichen Offenlegung von Informationen BSI CERT-Bund (WID) · Dec 15, 2022