Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2023-20862

CVE-2023-20862: VMware Spring Security Auth Bypass Flaw

CVE-2023-20862 is an authentication bypass flaw in VMware Spring Security that allows users to remain authenticated after logout. This article covers the technical details, affected versions, impact, and mitigation.

Published: February 4, 2026

CVE-2023-20862 Overview

CVE-2023-20862 is an Authentication Bypass vulnerability in VMware Spring Security that affects the logout functionality when using serialized security contexts. The vulnerability stems from improper cleanup of the security context during logout operations, which can result in users remaining authenticated even after explicitly logging out of an application.

This flaw represents a significant security concern for applications relying on Spring Security for authentication management. When users attempt to log out, the security context stored in serialized form is not properly cleared, and the HttpSessionSecurityContextRepository cannot explicitly save an empty security context. This breaks the fundamental security guarantee that logout operations should fully terminate user sessions.

Critical Impact

Users may remain authenticated after logout, potentially allowing unauthorized access to protected resources and session persistence attacks. This undermines the security model of applications that depend on proper session termination.

Affected Products

  • VMware Spring Security versions 5.7.x prior to 5.7.8
  • VMware Spring Security versions 5.8.x prior to 5.8.3
  • VMware Spring Security versions 6.0.x prior to 6.0.3
  • NetApp Active IQ Unified Manager for Linux
  • NetApp Active IQ Unified Manager for VMware vSphere
  • NetApp Active IQ Unified Manager for Windows

Discovery Timeline

  • 2023-04-19 - CVE-2023-20862 published to NVD
  • 2025-02-05 - Last updated in NVD database

Technical Details for CVE-2023-20862

Vulnerability Analysis

This vulnerability is classified under CWE-459 (Incomplete Cleanup), which describes a situation where a product does not properly clean up and remove temporary or supporting resources after they have been used. In the context of Spring Security, this manifests as a failure to properly clear the security context during logout operations when serialized versions are in use.

The core issue lies in the interaction between the logout support mechanism and the HttpSessionSecurityContextRepository. When a user initiates a logout, the framework attempts to clear the authentication state. However, when using serialized security contexts, the cleanup process fails to properly nullify or remove the stored authentication data. Furthermore, the repository implementation lacks the capability to explicitly persist an empty security context, meaning even if the application attempts to clear the authentication, the change is not properly saved.

This creates a scenario where the security context retains the previous authentication state, effectively keeping the user logged in despite having performed a logout operation.

Root Cause

The root cause of CVE-2023-20862 is the incomplete implementation of security context cleanup in Spring Security's logout handling mechanism. The vulnerability has two components:

  1. Serialization handling defect: When security contexts are serialized (common in distributed session scenarios), the logout mechanism does not properly deserialize, clear, and re-serialize the context to reflect the logged-out state.

  2. Empty context persistence limitation: The HttpSessionSecurityContextRepository implementation does not support explicitly saving an empty or null security context, preventing applications from forcefully clearing authentication state.

Attack Vector

The attack vector for this vulnerability requires an authenticated user context. An attacker who has obtained valid session credentials or has access to a legitimate user session could exploit this vulnerability in the following manner:

The vulnerability is network-accessible and requires low privileges (an authenticated session). After a legitimate user logs out, their session may retain authentication state. If an attacker can access or reuse the supposedly-invalidated session (through session fixation, XSS, or physical access to the device), they could gain continued access to the application as the previously authenticated user.

This is particularly dangerous in shared computing environments, kiosk scenarios, or situations where session tokens may be intercepted or stored in browser history.

Detection Methods for CVE-2023-20862

Indicators of Compromise

  • Unexpected session activity after users have confirmed logout
  • Authentication tokens or session IDs remaining valid after logout operations
  • User complaints about still being logged in after explicit logout attempts
  • Audit logs showing continued access from sessions that should have been terminated

Detection Strategies

  • Monitor application logs for authentication events following logout operations from the same session
  • Implement session validation checks that verify security context state matches expected logout behavior
  • Deploy runtime application security testing (RAST) tools to detect persistent authentication states
  • Review Spring Security configuration for serialized context usage patterns

Monitoring Recommendations

  • Enable detailed logging for Spring Security authentication and logout events
  • Implement alerting on session duration anomalies where sessions persist beyond expected logout timeframes
  • Track and correlate logout events with subsequent authentication-required requests from the same session
  • Monitor for patterns of session reuse that indicate failed logout operations

How to Mitigate CVE-2023-20862

Immediate Actions Required

  • Identify all applications using affected Spring Security versions (5.7.x, 5.8.x, 6.0.x)
  • Upgrade Spring Security to patched versions: 5.7.8, 5.8.3, or 6.0.3 respectively
  • Review and test logout functionality after applying patches to confirm proper session termination
  • Consider implementing additional session invalidation measures as defense-in-depth

Patch Information

VMware has released security patches addressing this vulnerability. Users should upgrade to the following versions based on their current deployment:

  • Spring Security 5.7.x users: Upgrade to version 5.7.8 or later
  • Spring Security 5.8.x users: Upgrade to version 5.8.3 or later
  • Spring Security 6.0.x users: Upgrade to version 6.0.3 or later

For detailed patch information and upgrade guidance, refer to the Spring Security CVE-2023-20862 Advisory. NetApp customers should consult the NetApp Security Advisory NTAP-20230526-0002 for product-specific guidance.

Workarounds

  • Implement explicit HTTP session invalidation in custom logout handlers as a supplementary measure
  • Configure shorter session timeouts to limit the window of exposure for persistent sessions
  • Add custom logout success handlers that forcefully clear all authentication-related session attributes
  • Consider implementing stateless authentication mechanisms (such as JWT with short expiration) if serialized context persistence is problematic
bash
# Configuration example - Force session invalidation on logout in Spring Security
# Add to your SecurityConfig.java or application configuration

# For Spring Security 5.x/6.x, ensure logout configuration includes:
# .logout()
#   .invalidateHttpSession(true)
#   .clearAuthentication(true)
#   .deleteCookies("JSESSIONID")
#   .logoutSuccessUrl("/login?logout")

# Verify Spring Security version in Maven/Gradle
mvn dependency:tree | grep spring-security
# or
gradle dependencies | grep spring-security

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechSpring Security

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.37%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-459
  • Technical References
  • NetApp Security Advisory NTAP-20230526-0002
  • Vendor Resources
  • Spring Security CVE-2023-20862
  • Related CVEs
  • CVE-2026-22746: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22747: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22754: Spring Security Auth Bypass Vulnerability

  • CVE-2026-22748: Spring Security Auth Bypass Vulnerability
Default Legacy - Prefooter | 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