CVE-2021-3560 in Canonical Ubuntu Linux and 6 more products
It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestor to the root user. This flaw could be used by an unprivileged local attacker to, for example, create a new local administrator. The highest threat from this vulnerability is to ...
Affects 7 products from 4 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 20.04 |
| Debian | Debian Linux | 11.0 |
| Polkit Project | Polkit | < 0.119 |
| Redhat | Virtualization Host | 4.0 |
| Redhat | Openshift Container Platform | 4.7 |
| Redhat | Virtualization | 4.0 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Redhat Enterprise Linux
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Yes added 2023-05-12 |
|---|---|
| Public exploit | Reported · reference |
Official description
It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestor to the root user. This flaw could be used by an unprivileged local attacker to, for example, create a new local administrator. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-3560 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-299302-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2022-02-16 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-754: CWE-754
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
CVE-2021-3560 is a critical vulnerability in polkit that allows an unprivileged local attacker to bypass credential checks for D-Bus requests, leading to privilege escalation to the root user. This can compromise data confidentiality, integrity, and system availability.
The vulnerability exists in the polkit service, which is responsible for managing user privileges on Unix-like operating systems. An attacker can exploit this flaw by sending specially crafted D-Bus requests to polkit, causing it to incorrectly validate credentials and grant elevated privileges. This can lead to the creation of new local administrators or other unauthorized actions.
Compensating controls AI-drafted, review before use
Implement strict access controls and monitoring for D-Bus communications to detect and prevent unauthorized privilege escalation attempts.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2021-3560?
CVE-2021-3560 is a critical vulnerability in polkit that allows an unprivileged local attacker to bypass credential checks for D-Bus requests, leading to privilege escalation to the root user. This can compromise data confidentiality, integrity, and system availability.
What is the CVSS score for CVE-2021-3560?
CVE-2021-3560 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 21.8%.
Is CVE-2021-3560 actively exploited?
Yes. CVE-2021-3560 is in the CISA known-exploited catalog (added 2023-05-12). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2021-3560?
Priority: IMMEDIATE. Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1961710
What systems are affected by CVE-2021-3560?
CVE-2021-3560 affects Canonical Ubuntu Linux; Debian Debian Linux; Polkit Project Polkit; Redhat Virtualization Host, Openshift Container Platform, Virtualization.
What NERC-CIP standard applies to CVE-2021-3560?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows an attacker to gain unauthorized access to control system devices, which can compromise the security of the electronic security perimeter.
What IEC 62443 requirement maps to CVE-2021-3560?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability in the authentication and authorization mechanisms, which can lead to unauthorized access and control of industrial systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.