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-2026-22751

CVE-2026-22751: Spring Security Race Condition Vulnerability

CVE-2026-22751 is a Time-of-check Time-of-use race condition in Spring Security affecting One-Time Token login with JdbcOneTimeTokenService. This article covers technical details, affected versions, and mitigations.

Published: April 23, 2026

CVE-2026-22751 Overview

A Time-of-check Time-of-use (TOCTOU) race condition vulnerability has been identified in Spring Security affecting applications that explicitly configure One-Time Token login with JdbcOneTimeTokenService. This race condition occurs during the authentication flow where the validation and consumption of one-time tokens are not performed atomically, potentially allowing attackers to exploit the timing gap between these operations.

Critical Impact

Applications using JdbcOneTimeTokenService for One-Time Token authentication may be susceptible to token reuse attacks due to the TOCTOU race condition, potentially compromising authentication integrity.

Affected Products

  • Spring Security versions 6.4.0 through 6.4.15
  • Spring Security versions 6.5.0 through 6.5.9
  • Spring Security versions 7.0.0 through 7.0.4

Discovery Timeline

  • 2026-04-21 - CVE CVE-2026-22751 published to NVD
  • 2026-04-22 - Last updated in NVD database

Technical Details for CVE-2026-22751

Vulnerability Analysis

This vulnerability is classified as CWE-367 (Time-of-check Time-of-use Race Condition). The flaw exists in the JdbcOneTimeTokenService implementation used for One-Time Token login functionality in Spring Security. The race condition occurs when the system checks whether a token is valid and then subsequently uses or invalidates that token. Due to the non-atomic nature of these operations, a narrow time window exists where an attacker with access to a valid one-time token could potentially submit multiple simultaneous requests to exploit the token before it is properly consumed.

The network-based attack vector with high complexity requirements means exploitation requires precise timing and likely automated tools to successfully race the token validation mechanism. However, no user interaction is required, making it feasible for attackers to attempt exploitation against exposed endpoints.

Root Cause

The root cause lies in the lack of atomic operations in the JdbcOneTimeTokenService when handling one-time token validation and consumption. The implementation performs a check to validate the token's existence and validity, followed by a separate operation to consume or invalidate the token. This two-step process creates a race window where concurrent requests can pass the validation check before any single request completes the consumption step.

Attack Vector

The attack requires network access to the application's authentication endpoints that utilize the One-Time Token login feature with JdbcOneTimeTokenService. An attacker must:

  1. Obtain a valid one-time token (through legitimate means or interception)
  2. Submit multiple concurrent authentication requests using the same token
  3. Time the requests to arrive during the gap between token validation and consumption

If successful, multiple authentication sessions could be established using a single one-time token, violating the single-use guarantee of the authentication mechanism.

The vulnerability mechanism involves race conditions during token validation in the JDBC-backed token service. For detailed technical information, refer to the Spring Security Advisory CVE-2026-22751.

Detection Methods for CVE-2026-22751

Indicators of Compromise

  • Multiple successful authentication events using the same one-time token within milliseconds
  • Unusual spikes in concurrent authentication requests to One-Time Token endpoints
  • Log entries showing repeated token validation for identical token values
  • Multiple active sessions associated with a single one-time token issuance

Detection Strategies

  • Implement application-level logging to track one-time token usage patterns and flag potential race condition exploitation attempts
  • Monitor database transaction logs for JdbcOneTimeTokenService table operations showing concurrent read operations on the same token record
  • Deploy application performance monitoring (APM) tools to detect abnormal request patterns targeting authentication endpoints
  • Configure alerts for authentication anomalies where multiple sessions originate from single token issuance events

Monitoring Recommendations

  • Enable detailed audit logging for all One-Time Token authentication attempts including timestamps with millisecond precision
  • Monitor application logs for authentication success patterns that indicate token reuse
  • Implement real-time alerting for concurrent authentication attempts from the same token source
  • Review database transaction isolation levels and locking behavior for token tables

How to Mitigate CVE-2026-22751

Immediate Actions Required

  • Upgrade Spring Security to a patched version beyond the affected ranges: 6.4.15, 6.5.9, or 7.0.4
  • Review application configurations to identify usage of JdbcOneTimeTokenService for One-Time Token login
  • Consider temporarily disabling One-Time Token authentication if immediate patching is not feasible
  • Implement additional rate limiting on authentication endpoints as a defense-in-depth measure

Patch Information

Spring has released security updates to address this vulnerability. Refer to the official Spring Security Advisory CVE-2026-22751 for specific patched versions and upgrade guidance. Applications should upgrade to the latest available version in their respective major version track that addresses this vulnerability.

Workarounds

  • Implement database-level row locking or pessimistic locking strategies for the one-time token table to prevent concurrent access
  • Add application-level synchronization around token validation and consumption operations
  • Consider switching to an alternative OneTimeTokenService implementation that provides atomic operations
  • Implement additional token validation at the application layer using a distributed lock mechanism such as Redis
bash
# Configuration example
# Update Spring Security dependency in pom.xml (Maven)
# Upgrade to patched version beyond affected ranges

# For Spring Security 6.4.x users:
# <version>6.4.16</version> or later

# For Spring Security 6.5.x users:
# <version>6.5.10</version> or later

# For Spring Security 7.0.x users:
# <version>7.0.5</version> or later

# Verify your application's Spring Security 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
  • TypeRace Condition

  • Vendor/TechSpring Security

  • SeverityMEDIUM

  • CVSS Score4.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-367
  • Technical References
  • Spring Security Advisory CVE-2026-22751
  • 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