Skip to content
Server Security Center
KEVhigh7.8

CVE-2021-3560: Red Hat Polkit Incorrect Authorization

Red Hat Polkit · listed in the CISA catalog of actively exploited vulnerabilities since 2023-05-12.

CVSS v3.1 (CVE record)
7.8
high
EPSS (exploit probability, 30 days)
22%
higher than 97.6% of all CVEs
Added to CISA KEV
2023-05-12
US federal due date 2023-06-02
Ubuntu priority
high

CVE-2021-3560 explained

CVE-2021-3560 is an incorrect authorization flaw in polkit. Polkit could be tricked into bypassing credential checks for D-Bus requests, raising the requesting user's privileges to root. It is listed in the CISA Known Exploited Vulnerabilities catalog, so patching should be treated as urgent.

Impact

An unprivileged local attacker with a low-privileged account can gain root privileges without any user interaction. One example given is creating a new local administrator. With root access, the attacker can read and change data and disrupt the system. Confidentiality, integrity and availability are all rated high. The attack requires local access and has low complexity.

Who is affected

The affected source package is policykit-1. On Ubuntu 22.04 LTS, which is supported, the fix is 0.105-31 in the standard archive. On Ubuntu 20.04 LTS, the fixed version is 0.105-26ubuntu1.1 in the standard archive. Standard support for Ubuntu 20.04 LTS has ended, and further fixes for that release come only with Ubuntu Pro (ESM). Both listed releases have a fixed version.

Written with AI from the data on this page and checked against it automatically.

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.

CISA required action: Apply updates per vendor instructions.

CISA notes

Upstream versions (CVE record)

From the CVE record published by the vendor or CVE numbering authority.

  • polkit
    Affected
    • polkit 0.119
    Fixed in
    not stated

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

What to do

  1. Check the installed policykit-1 version on each Ubuntu host.
  2. On Ubuntu 22.04 LTS, update policykit-1 to 0.105-31 or later.
  3. On Ubuntu 20.04 LTS, update policykit-1 to 0.105-26ubuntu1.1 or later.
  4. Restart the polkit service or reboot so the fixed code is running.
  5. For Ubuntu 20.04 LTS, enable Ubuntu Pro (ESM) for future fixes or plan an upgrade to a supported release.
  6. Review local accounts for unexpected new administrators.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace policykit-1 with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="policykit-1"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="policykit-1"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-863

Questions about CVE-2021-3560

Can this be exploited remotely?
No, not directly. The attack vector is local, so the attacker needs a low-privileged account on the system. From that account they can gain root privileges.
Is this vulnerability being exploited?
Yes. CISA added CVE-2021-3560 to its Known Exploited Vulnerabilities catalog on 2023-05-12. The required action is to apply updates per vendor instructions. Whether it has been used in ransomware is unknown.
Do I need to restart anything after updating?
Yes. Running services keep the old code until they are restarted. Restart the polkit service or reboot the host after installing the fixed policykit-1 package.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.