The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-31690

CVE-2022-31690: Spring Security Privilege Escalation Flaw

CVE-2022-31690 is a privilege escalation vulnerability in VMware Spring Security affecting versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9. Attackers can modify OAuth2 requests to gain elevated privileges.

Published: February 18, 2026

CVE-2022-31690 Overview

CVE-2022-31690 is a privilege escalation vulnerability affecting Spring Security, a widely-used security framework for Java applications. This vulnerability allows a malicious user or attacker to 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. The attack scenario specifically occurs when 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.

Critical Impact

Attackers can escalate privileges through manipulated OAuth2 authorization flows, potentially gaining unauthorized access to protected resources and elevated permissions within affected applications.

Affected Products

  • VMware Spring Security versions 5.7 prior to 5.7.5
  • VMware Spring Security versions 5.6 prior to 5.6.9
  • NetApp Active IQ Unified Manager (VMware vSphere and Windows)

Discovery Timeline

  • 2022-10-31 - CVE-2022-31690 published to NVD
  • 2025-05-08 - Last updated in NVD database

Technical Details for CVE-2022-31690

Vulnerability Analysis

This privilege escalation vulnerability exists within the OAuth2 authorization flow handling in Spring Security. The vulnerability exploits a specific edge case in the OAuth2 protocol implementation where the Authorization Server returns an empty scope list in the Access Token Response. According to RFC 6749, Section 5.1, the scope parameter in the token response is optional, and when omitted or empty, the authorization server may grant a different set of scopes than originally requested.

The attack requires network access and involves manipulating the authorization request flow between the client browser and the Authorization Server. While the attack complexity is high due to the specific conditions required, successful exploitation requires no privileges or user interaction, making it a concerning threat for applications relying on Spring Security's OAuth2 implementation.

Root Cause

The root cause of this vulnerability lies in how Spring Security handles OAuth2 Access Token Responses that contain an empty scope list. When the Authorization Server responds without explicit scope restrictions, the framework fails to properly validate and enforce the originally requested scopes, allowing attackers to potentially obtain elevated privileges beyond what was initially authorized.

Attack Vector

The attack vector for CVE-2022-31690 involves network-based manipulation of the OAuth2 authorization flow. An attacker can intercept and modify the authorization request sent from the client browser to the Authorization Server. When the Authorization Server processes this modified request and returns an Access Token Response with an empty scope list, the subsequent token obtained may grant broader privileges than intended.

The attack flow involves:

  1. Client initiates OAuth2 authorization request through the browser
  2. Attacker intercepts and modifies the request to the Authorization Server
  3. Authorization Server responds with an Access Token Response containing an empty scope list
  4. Spring Security fails to properly validate scope restrictions
  5. Attacker obtains access token with escalated privileges

Detection Methods for CVE-2022-31690

Indicators of Compromise

  • Unusual OAuth2 token requests with manipulated scope parameters
  • Access Token Responses containing empty or modified scope lists
  • Unexpected privilege escalation events in application audit logs
  • Anomalous user permission changes following OAuth2 authentication flows

Detection Strategies

  • Monitor OAuth2 authorization endpoints for requests with suspicious scope modifications
  • Implement logging and alerting for Access Token Responses with empty scope lists
  • Review application logs for privilege escalation events correlated with OAuth2 authentication
  • Deploy network monitoring to detect manipulation of OAuth2 flows between clients and authorization servers

Monitoring Recommendations

  • Enable detailed logging for all OAuth2 authorization and token exchange operations
  • Configure alerts for any privilege changes following OAuth2 authentication events
  • Implement anomaly detection for scope parameter variations in authorization requests
  • Monitor for unauthorized access to protected resources following token issuance

How to Mitigate CVE-2022-31690

Immediate Actions Required

  • Upgrade Spring Security to version 5.7.5 or later for the 5.7.x branch
  • Upgrade Spring Security to version 5.6.9 or later for the 5.6.x branch
  • Review and audit current OAuth2 configurations for proper scope enforcement
  • Implement additional scope validation at the application level as a defense-in-depth measure

Patch Information

VMware has released patches addressing this vulnerability. Organizations should upgrade to Spring Security 5.7.5 or 5.6.9 depending on their current version branch. For detailed patch information and release notes, refer to the VMware CVE-2022-31690 Advisory. NetApp customers should consult the NetApp Security Advisory NTAP-20221215-0010 for guidance on Active IQ Unified Manager.

Workarounds

  • Implement strict scope validation at the application layer independent of Spring Security's handling
  • Configure Authorization Servers to always explicitly return scope lists in token responses
  • Deploy web application firewalls (WAF) to monitor and filter suspicious OAuth2 requests
  • Implement additional authorization checks beyond OAuth2 scopes for sensitive operations
bash
# Example: Update Spring Security dependency in Maven pom.xml
# For 5.7.x branch:
# <spring-security.version>5.7.5</spring-security.version>
#
# For 5.6.x branch:
# <spring-security.version>5.6.9</spring-security.version>
#
# Verify current version:
mvn dependency:tree | grep spring-security

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechVmware Spring Security

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.32%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • NetApp Security Advisory NTAP-20221215-0010
  • Vendor Resources
  • VMware CVE-2022-31690 Advisory
  • Related CVEs
  • CVE-2023-34034: Spring Security Auth Bypass Vulnerability

  • CVE-2022-22978: Spring Security Auth Bypass Vulnerability

  • CVE-2021-22119: VMware Spring Security DoS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English