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-2021-40456

CVE-2021-40456: Windows AD FS Auth Bypass Vulnerability

CVE-2021-40456 is an authentication bypass flaw in Windows Active Directory Federation Services that allows attackers to circumvent security features. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-40456 Overview

CVE-2021-40456 is a security feature bypass vulnerability affecting Windows Active Directory Federation Services (AD FS). This vulnerability allows attackers to potentially bypass security features implemented within AD FS, which serves as a critical identity federation and authentication component in enterprise Windows environments. AD FS is widely deployed to enable single sign-on (SSO) capabilities across organizational boundaries, making this vulnerability particularly concerning for organizations relying on federated identity management.

Critical Impact

This security feature bypass vulnerability in Windows AD FS could allow unauthorized actors to circumvent authentication mechanisms, potentially gaining access to protected resources without proper authorization. Organizations using AD FS for federated authentication should prioritize remediation.

Affected Products

  • Microsoft Windows Server 20H2
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022

Discovery Timeline

  • October 13, 2021 - CVE-2021-40456 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2021-40456

Vulnerability Analysis

This vulnerability is classified under CWE-863 (Incorrect Authorization), indicating a flaw in how AD FS handles authorization decisions. The vulnerability exists in the AD FS component of Windows Server and can be exploited remotely over the network without requiring authentication or user interaction. This accessibility makes it a significant concern for organizations with internet-facing AD FS deployments.

The impact is primarily focused on confidentiality, as successful exploitation could allow attackers to bypass security features designed to protect authentication workflows and access control mechanisms. Given that AD FS manages trust relationships between identity providers and service providers, a bypass in its security features could have cascading effects across the entire federated trust chain.

Root Cause

The root cause of this vulnerability stems from incorrect authorization handling within the Windows AD FS component. The flaw relates to how AD FS processes certain requests or validates security constraints, allowing attackers to potentially circumvent intended security controls. This authorization weakness enables bypassing of security features without requiring valid credentials or elevated privileges.

Attack Vector

The attack vector for CVE-2021-40456 is network-based, meaning an attacker can exploit this vulnerability remotely. The exploitation requires low complexity and does not necessitate any privileges or user interaction. An attacker could craft malicious requests targeting vulnerable AD FS endpoints, potentially bypassing authentication or authorization checks that should normally prevent unauthorized access.

The attack scenario typically involves:

  1. Identifying a vulnerable AD FS deployment on Windows Server 2019, 2022, or 20H2
  2. Crafting specially formed requests that exploit the authorization bypass
  3. Submitting these requests to the AD FS service to circumvent security feature controls
  4. Gaining unauthorized access to protected resources or authentication tokens

Detection Methods for CVE-2021-40456

Indicators of Compromise

  • Unusual authentication patterns or token issuance from AD FS servers without corresponding legitimate user activity
  • Anomalous access to federated applications from unexpected sources or with unusual claim attributes
  • Unexpected modifications to AD FS configuration or trust relationships
  • Elevated authentication events from AD FS that do not correlate with known user behavior

Detection Strategies

  • Monitor AD FS event logs (Event ID 1200, 1202, 1203) for abnormal authentication events and security token issuance
  • Implement network traffic analysis to detect unusual patterns targeting AD FS endpoints
  • Deploy SIEM rules to correlate AD FS authentication events with user activity baselines
  • Review AD FS audit logs for security feature bypass attempts or configuration changes

Monitoring Recommendations

  • Enable verbose logging on AD FS servers to capture detailed authentication and authorization events
  • Configure alerts for authentication failures followed by successful access without proper credentials
  • Monitor for unusual claims or assertions in SAML/WS-Fed tokens issued by AD FS
  • Track and baseline normal AD FS traffic patterns to identify deviations indicative of exploitation

How to Mitigate CVE-2021-40456

Immediate Actions Required

  • Apply the Microsoft security update released in October 2021 to all affected Windows Server systems running AD FS
  • Restrict network access to AD FS endpoints to only trusted networks and clients where possible
  • Review AD FS configuration and trust relationships for any unauthorized modifications
  • Enable enhanced monitoring and logging on AD FS infrastructure

Patch Information

Microsoft has released security updates to address this vulnerability as part of their October 2021 security updates. The official security guidance and patch information is available through the Microsoft Security Advisory CVE-2021-40456. Organizations should apply the appropriate cumulative update for their Windows Server version (2019, 2022, or 20H2) through Windows Update or Windows Server Update Services (WSUS).

Workarounds

  • Implement network segmentation to limit exposure of AD FS servers to untrusted networks
  • Deploy Web Application Firewall (WAF) rules to filter potentially malicious requests targeting AD FS
  • Consider implementing additional authentication controls such as MFA at the application layer
  • Temporarily disable non-essential AD FS features if delaying patching is unavoidable
bash
# Verify Windows Server patch level for AD FS systems
Get-HotFix | Where-Object {$_.InstalledOn -gt "2021-10-01"} | Select-Object HotFixID, InstalledOn

# Check AD FS service status and configuration
Get-AdfsProperties | Select-Object HostName, Identifier, CurrentFarmBehavior

# Review AD FS audit log settings
Get-AdfsProperties | Select-Object AuditLevel

# Enable comprehensive AD FS auditing if not already configured
Set-AdfsProperties -AuditLevel Verbose

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability1.34%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • NVD-CWE-noinfo

  • CWE-863
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-40456
  • Related CVEs
  • CVE-2026-23656: Windows App Authentication Bypass Flaw

  • CVE-2026-23674: Windows MapUrlToZone Auth Bypass Flaw

  • CVE-2020-1464: Windows 10 1507 Auth Bypass Vulnerability

  • CVE-2026-21255: Windows 10 1607 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