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
    • 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-2025-26620

CVE-2025-26620: AccessTokenManagement Race Condition Flaw

CVE-2025-26620 is a race condition vulnerability in Duende.AccessTokenManagement that causes concurrent token requests to return tokens with incorrect protocol parameters, affecting OAuth client credentials flow.

Updated: January 22, 2026

CVE-2025-26620 Overview

CVE-2025-26620 is a race condition vulnerability affecting Duende.AccessTokenManagement, a set of .NET libraries that manage OAuth and OpenID Connect access tokens. The vulnerability exists in the client credentials flow implementation, where concurrent requests to obtain access tokens using different protocol parameters can result in tokens being returned with incorrect scope, resource indicator, or other protocol parameters.

Critical Impact

Concurrent access token requests with varying protocol parameters may receive tokens intended for different authorization contexts, potentially leading to unauthorized access or privilege confusion between application components.

Affected Products

  • Duende.AccessTokenManagement (versions prior to the security patch)
  • Applications using HttpContext.GetClientAccessTokenAsync() with custom TokenRequestParameters
  • Applications using IClientCredentialsTokenManagementService.GetAccessTokenAsync() with custom TokenRequestParameters

Discovery Timeline

  • 2025-02-18 - CVE CVE-2025-26620 published to NVD
  • 2025-02-18 - Last updated in NVD database

Technical Details for CVE-2025-26620

Vulnerability Analysis

This vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use Race Condition). The issue manifests when multiple concurrent requests attempt to obtain access tokens using the client credentials flow with differing protocol parameters. Due to improper synchronization in the token management service, all concurrent requests may receive the same cached token regardless of their individual parameter requirements.

The vulnerability primarily affects advanced usage scenarios where applications dynamically customize token request parameters through the TokenRequestParameters object. In basic usage patterns where client credentials flow is configured once with static parameters, the vulnerability is unlikely to be triggered.

Root Cause

The root cause lies in the lack of proper synchronization when handling concurrent token requests with varying parameters. The ClientCredentialsTokenManagementService and DistributedClientCredentialsTokenCache components did not properly isolate concurrent requests, allowing a race condition where one request's token could be returned to another request with different intended parameters.

Attack Vector

This network-accessible vulnerability requires specific conditions to exploit. An attacker or unintentional trigger scenario involves concurrent API calls that request access tokens with different scopes or resource indicators. The race condition causes the token cache to return tokens that may have been obtained with different authorization parameters than requested.

text
// Security patch in ClientCredentialsTokenManagementService.cs
// Source: https://github.com/DuendeSoftware/foss/commit/a33332ddec0ebf3c048ba85427e3c77d47c68dac

 // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
 
 using Microsoft.Extensions.Logging;
+using System.Threading;
 
 namespace Duende.AccessTokenManagement;
 
 /// <summary>
 /// Implements token management logic
 /// </summary>
-public class ClientCredentialsTokenManagementService : IClientCredentialsTokenManagementService
+public class ClientCredentialsTokenManagementService(
+    IClientCredentialsTokenEndpointService clientCredentialsTokenEndpointService,
+    IClientCredentialsTokenCache tokenCache,
+    ILogger<ClientCredentialsTokenManagementService> logger
+) : IClientCredentialsTokenManagementService
 {
-    private readonly ITokenRequestSynchronization _sync;
-    private readonly IClientCredentialsTokenEndpointService _clientCredentialsTokenEndpointService;
-    private readonly IClientCredentialsTokenCache _tokenCache;
-    private readonly ILogger<ClientCredentialsTokenManagementService> _logger;

The patch introduces proper threading synchronization by adding System.Threading and restructuring the service to use constructor-based dependency injection with improved synchronization handling.

Detection Methods for CVE-2025-26620

Indicators of Compromise

  • Unexpected authorization failures or access denials in logs that suggest tokens with incorrect scopes
  • Inconsistent token scopes or resource indicators across concurrent API requests
  • Application behavior indicating access to resources outside expected authorization boundaries
  • Log entries showing token reuse across requests with different TokenRequestParameters

Detection Strategies

  • Review application logs for OAuth token requests that show scope mismatches between requested and granted permissions
  • Implement monitoring for concurrent token requests that use varying TokenRequestParameters configurations
  • Audit code paths using HttpContext.GetClientAccessTokenAsync() or IClientCredentialsTokenManagementService.GetAccessTokenAsync() with custom parameters
  • Monitor for authorization anomalies where tokens grant access outside expected scope boundaries

Monitoring Recommendations

  • Enable detailed logging for token management operations to track token request parameters and responses
  • Implement correlation tracking between token requests and their intended authorization contexts
  • Set up alerts for unexpected authorization patterns that may indicate race condition exploitation
  • Review application architecture for patterns that make concurrent token requests with varying parameters

How to Mitigate CVE-2025-26620

Immediate Actions Required

  • Update Duende.AccessTokenManagement NuGet package to the latest patched version immediately
  • Review code for custom implementations of IClientCredentialsTokenCache that derive from DistributedClientCredentialsTokenCache
  • Update derived cache implementations to inject and pass ITokenRequestSynchronization service to the base constructor
  • Audit current token management usage patterns to identify if concurrent requests with varying parameters are occurring

Patch Information

The vulnerability has been patched in the Duende.AccessTokenManagement library. The fix introduces proper synchronization mechanisms through the ITokenRequestSynchronization service. The security patch is available in commit a33332ddec0ebf3c048ba85427e3c77d47c68dac. For full details, refer to the GitHub Security Advisory and the security patch commit.

Workarounds

  • Serialize token requests to prevent concurrent access when using varying TokenRequestParameters
  • Implement application-level locking around token acquisition code that uses custom parameters
  • Avoid using the overloads that accept TokenRequestParameters until the patch can be applied
  • Consider using separate client credential configurations instead of dynamic parameter customization
csharp
// Example: Updated constructor pattern for custom cache implementations
public class CustomClientCredentialsTokenCache : DistributedClientCredentialsTokenCache
{
    public CustomClientCredentialsTokenCache(
        IDistributedCache cache,
        ITokenRequestSynchronization sync,  // New required dependency
        ILogger<DistributedClientCredentialsTokenCache> logger)
        : base(cache, sync, logger)  // Pass sync to base constructor
    {
        // Custom implementation
    }
}

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

  • Vulnerability Details
  • TypeRace Condition

  • Vendor/TechDuende

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-367
  • Technical References
  • GitHub Commit Reference

  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE 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