PortGate

Advisories · Linux & SSH

CVE-2021-3560 High CVSS 7.8 Actively exploited

polkit authentication bypass

Disclosed 2021 · Last reviewed 2 Dec 2026

A local user could disconnect a polkit request at the right moment and have it treated as allowed.

What happened

polkit mishandled a dropped D-Bus connection and treated the error as a successful authentication.

Affected and patched versions

Affected
polkit before 0.119, and older distro packages before their backport.
Patched
polkit 0.119 and the distro updates that name CVE-2021-3560.

How to check your server

Check

pkexec --version

How to fix and harden

  1. Install the distribution polkit update that names CVE-2021-3560.
  2. A version below 0.119 can still be patched. Read the changelog.

Fix

pkexec --version

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON