Every CVE Search/ Get API key

CVE-2022-31692

Spring Security authorization rules can be bypassed via forward or include dispatcher types

9.8 CriticalPublic exploitFix available

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)

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

4.25%Up 3.4 points since Nov 1, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

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)

Record
CVE-2022-31692
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-639
Updated
2026-11-02
CVE List 9.8

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)

Record
CVE-2022-31692
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-639
Updated
2026-11-02
EUVDEUVD-2022-7386 9.8

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)

Record
EUVD-2022-7386
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-mmmh-wcxm-2wr4 9.8

Spring Security authorization rules can be bypassed via forward or include dispatcher types

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)

Record
GHSA-mmmh-wcxm-2wr4
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSV 9.8

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)

Record
CVE-2022-31692
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVGHSA-mmmh-wcxm-2wr4 9.8

Spring Security authorization rules can be bypassed via forward or include dispatcher types

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)

Record
GHSA-mmmh-wcxm-2wr4
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-863
Updated
2026-11-02
OSVRHSA-2023:1655 9.8

Red Hat Security Advisory: OpenShift Container Platform 4.10.56 security update

Record
RHSA-2023:1655
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2022-31692 9.8

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)

Record
UBUNTU-CVE-2022-31692
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2022-31692 No score

CVE-2022-31692 in org.springframework.security:spring-security-core - Patched by Root

Root has patched CVE-2022-31692 in the org.springframework.security:spring-security-core package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2022-31692
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.security:spring-security-core
Maven
5.7.0 up to 5.7.5
5.7.5
org.springframework.security:spring-security-core
Maven
5.6.0 up to 5.6.9
5.6.9
org.springframework.security:spring-security-core
Maven
5.7.0 up to 5.7.5, plus listed versions
5.7.15.7.25.7.35.7.4
5.7.5
org.springframework.security:spring-security-core
Maven
5.6.0 up to 5.6.9, plus listed versions
5.6.15.6.25.6.35.6.45.6.55.6.65.6.75.6.8
5.6.9
openshift
Red Hat:openshift:4.10::el7
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
openshift-hyperkube
Red Hat:openshift:4.10::el7
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el7
openshift
Red Hat:openshift:4.10::el8
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
openshift-hyperkube
Red Hat:openshift:4.10::el8
before 0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
0:4.10.0-202303221742.p0.g16bcd69.assembly.stream.el8
jenkins
Red Hat:openshift:4.10::el8
before 0:2.387.1.1680701869-1.el8
0:2.387.1.1680701869-1.el8
jenkins-2-plugins
Red Hat:openshift:4.10::el8
before 0:4.10.1680703106-1.el8
0:4.10.1680703106-1.el8
Show 15 moreShow less
Affected packages
PackageAffectedFixed
haproxy
Red Hat:openshift:4.10::el8
before 0:2.2.19-4.el8
0:2.2.19-4.el8
haproxy-debugsource
Red Hat:openshift:4.10::el8
before 0:2.2.19-4.el8
0:2.2.19-4.el8
haproxy22
Red Hat:openshift:4.10::el8
before 0:2.2.19-4.el8
0:2.2.19-4.el8
haproxy22-debuginfo
Red Hat:openshift:4.10::el8
before 0:2.2.19-4.el8
0:2.2.19-4.el8
org.springframework.security:spring-security-core
Root:Maven
before 5.7.3-aikido.2
5.7.3-aikido.25.7.1-aikido.35.7.3-aikido.35.7.3-aikido.45.7.1-aikido.45.7.3-aikido.55.7.1-aikido.55.7.5-aikido.1
io.root.org.springframework.security:spring-security-core
Root:Maven
before 5.7.1-root.io.1
5.7.1-root.io.15.7.1-root.io.25.7.3-root.io.25.7.1-root.io.35.7.3-root.io.35.7.3-root.io.45.7.1-root.io.45.7.3-root.io.55.7.1-root.io.55.7.5-root.io.1
libspring-java
Ubuntu:Pro:14.04:LTS
All versions, plus listed versions
3.0.6.RELEASE-73.0.6.RELEASE-83.0.6.RELEASE-93.0.6.RELEASE-103.0.6.RELEASE-11
Show 4 moreShow less
3.0.6.RELEASE-123.0.6.RELEASE-133.0.6.RELEASE-13ubuntu0.1~esm13.0.6.RELEASE-13ubuntu0.1~esm2
None known
libspring-java
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
3.2.13-33.2.13-43.2.13-53.2.13-5ubuntu0.1~esm1
None known
libspring-java
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
4.3.11-14.3.12-14.3.13-24.3.14-14.3.22-1~18.044.3.22-1~18.04.1~esm1
None known
libspring-java
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
4.3.22-44.3.22-4ubuntu0.1~esm1
None known
libspring-java
Ubuntu:Pro:22.04:LTS
All versions, plus listed versions
4.3.30-14.3.30-1ubuntu0.1~esm1
None known
libspring-java
Ubuntu:Pro:24.04:LTS
All versions, plus listed versions
4.3.30-24.3.30-2ubuntu0.24.04.1~esm1
None known
libspring-java
Ubuntu:25.10
All versions, plus listed versions
4.3.30-2ubuntu14.3.30-3ubuntu1
None known
libspring-java
Ubuntu:26.10
All versions, plus listed versions
4.3.30-3ubuntu1
None known
libspring-java
Ubuntu:26.04:LTS
All versions, plus listed versions
4.3.30-3ubuntu1
None known

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubblipzip/cve-2022-316922022-11-03
PoC in GitHubhotblac/cve-2022-316922023-10-29

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-31692 is a critical vulnerability (CVSS 9.8) in Vmware Spring Security, published October 31, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 4.25%, the 91st percentile. Fixed in org.springframework.security:spring-security-core 5.7.5.

References

Show 54 moreShow less
MoveEnter Open