VDB

CVE-2022-31690

CVE-2022-31690 PUBLISHED CVSS 8.100000381469727 HIGH

spring-security-oauth2-client vulnerable to Privilege Escalation

Reported by vmware · Published October 31, 2022

Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.

Risk scores

CVSS 3.1
8.100000381469727
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/aSpring SecuritySpring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)
n/aSpring SecuritySpring Security (5.7 to 5.7.4 and 5.6 to 5.6.8 as well as older, unsupported versions)
Mavenorg.springframework.security:spring-security-core
Mavenorg.springframework.security:spring-security-oauth2-client0, 5.7.0

Timeline

  • Oct 31, 2022 CVE Published
  • Nov 1, 2022 EPSS Score (30 in total, the first dated here)
  • May 8, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Jun 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2022-31690
vulnetix vdb fixes CVE-2022-31690

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-31690/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›