CVE-2022-31692

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)

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
4.247%
chance of exploitation in the next 30 days
higher than 91.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impacttotal
Scored2025-05-06

Timeline

  1. 2022-10-31Published by the CNA00:00 UTC
  2. 2022-11-01GitHub advisory published (GHSA-mmmh-wcxm-2wr4)1 day after publication
  3. 2025-05-06CISA SSVC decision recorded918 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-mmmh-wcxm-2wr4, affected packages:

PackageVulnerable versionsFixed in
Maven org.springframework.security:spring-security-corefrom 5.6.0 before 5.6.95.6.9
Maven org.springframework.security:spring-security-corefrom 5.7.0 before 5.7.55.7.5

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
vmware spring_securityfrom 5.6.0 before 5.6.9fixed in 5.6.9from 5.7.0 before 5.7.5fixed in 5.7.55.6.95.7.5
netapp active_iq_unified_manager

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources