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

CVE-2021-3560: Polkit Privilege Escalation Vulnerability

CVE-2021-3560 is a privilege escalation vulnerability in Polkit that allows unprivileged attackers to bypass credential checks and gain root access. This article covers the technical details, affected versions, and mitigation.

Published: March 4, 2026

CVE-2021-3560 Overview

CVE-2021-3560 is a privilege escalation vulnerability in polkit (formerly PolicyKit), a component used for controlling system-wide privileges in Unix-like operating systems. The vulnerability allows polkit to be tricked into bypassing credential checks for D-Bus requests, effectively elevating the privileges of an unprivileged local attacker to the root user. This flaw enables attackers to perform unauthorized administrative actions, such as creating new local administrator accounts.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities Catalog and allows unprivileged local attackers to gain root-level access, threatening data confidentiality, integrity, and system availability.

Affected Products

  • Polkit Project Polkit (all vulnerable versions prior to patch)
  • Debian Linux 11.0
  • Canonical Ubuntu Linux 20.04
  • Red Hat Enterprise Linux 7.0 and 8.0
  • Red Hat Virtualization 4.0
  • Red Hat Virtualization Host 4.0
  • Red Hat OpenShift Container Platform 4.7

Discovery Timeline

  • 2022-02-16 - CVE-2021-3560 published to NVD
  • 2025-11-06 - Last updated in NVD database

Technical Details for CVE-2021-3560

Vulnerability Analysis

CVE-2021-3560 is classified under CWE-863 (Incorrect Authorization) and CWE-754 (Improper Check for Unusual or Exceptional Conditions). The vulnerability exists in how polkit handles D-Bus message authentication during inter-process communication. When a D-Bus request is made to polkit, there is a race condition in the authentication verification process that can be exploited through precise timing.

The attack leverages a timing window where if a D-Bus request is terminated at just the right moment during the authentication check, polkit incorrectly assumes the request came from a privileged process (UID 0). This occurs because polkit attempts to look up the UID of the requesting process, but if that process has already exited, the lookup fails in a way that causes polkit to default to root privileges.

Root Cause

The root cause of CVE-2021-3560 lies in polkit's handling of D-Bus message sender verification. When polkit receives a privileged operation request, it queries the D-Bus daemon to verify the UID of the requesting process. However, if the requesting process terminates before polkit completes this verification, the error handling path incorrectly treats the request as coming from UID 0 (root). This improper check for an exceptional condition (process termination during authentication) allows the bypass.

Attack Vector

The attack is executed locally and requires the attacker to have unprivileged access to the target system. The exploitation technique involves:

  1. Initiating a D-Bus request to polkit for a privileged action (such as creating a new user account)
  2. Precisely timing the termination of the request process during the authentication verification window
  3. When successful, polkit grants root-level privileges to the action

Due to the timing-sensitive nature of the exploit, multiple attempts may be required. However, the exploit is highly reliable once the timing is calibrated for the target system. The attack does not require user interaction and can be automated through shell scripting by repeatedly sending requests with controlled timing delays.

The exploitation mechanism involves sending a D-Bus message to the org.freedesktop.Accounts service and killing the process at a precise moment (typically around 5-20 milliseconds after sending the request). For detailed technical analysis, refer to the GitHub Privilege Escalation Analysis.

Detection Methods for CVE-2021-3560

Indicators of Compromise

  • Unexpected user accounts created with administrative privileges, particularly accounts created without corresponding authentication logs
  • Rapid succession of D-Bus requests to org.freedesktop.Accounts.CreateUser or similar privileged services
  • Polkit authentication logs showing requests from processes that quickly terminated
  • Anomalous activity patterns involving the dbus-send command with unusual timing patterns

Detection Strategies

  • Monitor system authentication logs (/var/log/auth.log or /var/log/secure) for user creation events without proper authentication chains
  • Implement D-Bus activity monitoring to detect rapid-fire requests to polkit-managed services
  • Use SentinelOne's behavioral AI to detect privilege escalation patterns characteristic of this exploitation technique
  • Deploy file integrity monitoring on /etc/passwd, /etc/shadow, and /etc/sudoers to detect unauthorized account modifications
  • Configure auditd rules to monitor for dbus-send executions targeting accounts or systemd services

Monitoring Recommendations

  • Enable verbose logging for polkit daemon to capture authentication bypass attempts
  • Monitor for new user account creation events in combination with short-lived processes
  • Implement real-time alerting for any changes to user privilege assignments
  • Track D-Bus message patterns using tools like dbus-monitor for forensic analysis capabilities

How to Mitigate CVE-2021-3560

Immediate Actions Required

  • Update polkit to the latest patched version provided by your Linux distribution immediately
  • Review all user accounts for unauthorized administrative privileges, particularly accounts created recently
  • Audit sudo and polkit policies to ensure principle of least privilege
  • Restrict local access to systems where possible until patching is complete

Patch Information

Security patches for CVE-2021-3560 have been released by major Linux distributions. Consult your distribution's security advisories for specific package versions:

  • Red Hat: Refer to Red Hat Bug Report #1961710 for patch details and affected versions
  • Debian: Security updates available for Debian 11 (Bullseye)
  • Ubuntu: Updates available for Ubuntu 20.04 LTS and later

Apply updates using your distribution's package manager (e.g., apt update && apt upgrade for Debian/Ubuntu or yum update polkit for Red Hat-based systems).

Workarounds

  • If patching is not immediately possible, consider restricting local user access to affected systems
  • Implement additional monitoring on user creation and privilege modification operations
  • Use application whitelisting to restrict execution of dbus-send and similar utilities to authorized users only
  • Consider temporarily disabling polkit-dependent services if they are not critical to operations
bash
# Check current polkit version
pkaction --version

# Update polkit on Red Hat-based systems
sudo yum update polkit

# Update polkit on Debian/Ubuntu systems
sudo apt update && sudo apt install --only-upgrade policykit-1

# Verify no unauthorized users have been created
awk -F: '$3 >= 1000 && $3 < 65534 {print $1}' /etc/passwd

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechPolkit

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability10.87%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-863

  • CWE-754
  • Technical References
  • Packet Storm Authentication Bypass

  • Packet Storm DoS Vulnerability

  • GitHub Privilege Escalation Analysis

  • CISA CVE-2021-3560 Exploit Catalog
  • Vendor Resources
  • Red Hat Bug Report #1961710
  • Related CVEs
  • CVE-2021-4034: Polkit pkexec Privilege Escalation Flaw

  • CVE-2026-4897: Polkit Denial of Service Vulnerability

  • CVE-2025-14338: Polkit Race Condition 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