{"id":"CVE-2022-31692","published":"2022-10-31T00:00:00Z","modified":"2025-05-06T15:53:54Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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)","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02729,"percentile":0.86802,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2022-31692","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221215-0010/","tags":[]}],"priority":{"score":29.2,"factors":[{"name":"EPSS percentile","points":17.36},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":2,"skipped":0,"earliest":"2022-11-03","earliestUrl":"https://github.com/blipzip/cve-2022-31692","repos":[{"name":"blipzip/cve-2022-31692","url":"https://github.com/blipzip/cve-2022-31692","stars":35,"created":"2022-11-03"},{"name":"hotblac/cve-2022-31692","url":"https://github.com/hotblac/cve-2022-31692","stars":0,"created":"2023-10-29"}]},"first":{"date":"2022-11-03","source":"PoC-in-GitHub","url":"https://github.com/blipzip/cve-2022-31692"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"Spring by VMware","versions":["5.7 to 5.7.4, 5.6 to 5.6.8 and older versions"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-06T15:52:10.845854Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.security:spring-security-core","vulnerableRanges":[">=5.7.0, <5.7.5",">=5.6.0, <5.6.9"],"patched":["5.7.5","5.6.9"],"from":["GHSA-mmmh-wcxm-2wr4"],"provenance":"source"}],"summary":{"text":"Spring Security versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 contain an authorization bypass in the AuthorizationFilter component when Spring Security is applied to forward and include dispatcher types. An attacker can bypass authorization rules over the network without authentication or user interaction, provided the application uses AuthorizationFilter (manually or via authorizeHttpRequests()), applies the filter chain to forward and/or include requests, and forwards or includes requests to a more privileged endpoint.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:34:50Z"},"euvd":{"id":"EUVD-2022-7386","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-22119","published":"2021-06-29","fixed":"5.5.1","kev":false},{"cve":"CVE-2022-22976","published":"2022-05-19","fixed":"5.6.4","kev":false},{"cve":"CVE-2022-22978","published":"2022-05-19","fixed":"5.6.4","kev":false,"link":{"from":"CVE-2022-22978","to":"CVE-2022-31692","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.6.4","toFixed":"5.6.9","daysApart":165}]}},{"cve":"CVE-2022-31692","published":"2022-10-31","fixed":"5.7.5","kev":false},{"cve":"CVE-2023-20862","published":"2023-04-19","fixed":"6.0.3","kev":false,"link":{"from":"CVE-2022-31692","to":"CVE-2023-20862","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.security:spring-security-core","fromFixed":"5.7.5","toFixed":"5.7.8","daysApart":170}]}},{"cve":"CVE-2024-22234","published":"2024-02-20","fixed":"6.2.2","kev":false},{"cve":"CVE-2024-22257","published":"2024-03-18","fixed":"6.2.3","kev":false}],"package":"Maven:org.springframework.security:spring-security-core"}}