Loading SecureCyberVM…
SecureCyberVM
CVE Lookup Daily Threat Briefing Exploited CVEs Ransomware Zero-day
SecureCyberVM
Get the Patch Brief
CVE record Critical Actively exploited

CVE-2021-4034

Highest CVSS7.8
EPSS (30-day exploit probability)94.92%Percentile 99.9
CISA KEVExploitedAdded 2022-06-27
CISA SSVC exploitationActiveAutomatable: no
Patch immediately

Attackers are exploiting CVE-2021-4034 in real attacks (CISA KEV). Ransomware groups use it. If you run an affected version, patch or mitigate now and check for signs of compromise.

Watch this CVE

Get an email when CVE-2021-4034 changes: new CVSS scores, exploitation (CISA KEV), fixes or affected versions. Free, one-click stop.

Description

A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.

CVSS scores

VersionScored byScoreVector
CVSS 3.1CISA ADP7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0NVD (NIST)7.2 HighAV:L/AC:L/Au:N/C:C/I:C/A:C

Timeline

  1. CVE published
  2. Added to CISA KEV (exploited in the wild)
  3. CISA remediation deadline (passed)
  4. Last updated by the CVE authority
  5. First tracked by SecureCyberVM

Exploit likelihood (EPSS)

94.92%chance of exploitation in the next 30 days
Higher than 100% of all published CVEs (FIRST EPSS percentile).Trend over 3 days (2026-11-26 to 2026-11-30).

Exploitation

  • Listed in the CISA Known Exploited Vulnerabilities catalog on 2022-06-27.
  • U.S. federal remediation due date: 2022-07-18.
  • Known to be used in ransomware campaigns.

Am I affected?

  1. Do you run polkit? Check the exact versions in the affected products list.
  2. Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
  3. It is actively exploited: assume attackers are scanning for it and look for indicators of compromise on exposed systems.
  4. Apply the vendor's update as soon as it is available; restrict access to the service until then.

Affected products

  • polkit: all

Mitigations

  • CISA required action: Apply updates per vendor instructions.

Weakness

(CWE-787|CWE-125)

Frequently asked questions

Is CVE-2021-4034 being actively exploited?

Yes. CISA added CVE-2021-4034 to its Known Exploited Vulnerabilities catalog on 2022-06-27, which means attackers are using it in real attacks. US federal agencies must fix it by 2022-07-18. It is known to be used in ransomware campaigns.

How severe is CVE-2021-4034?

CVE-2021-4034 has a highest CVSS score of 7.8 (High) under CVSS 3.1. Severity alone is not priority: check exploitation status and whether you run an affected version.

How do I fix CVE-2021-4034?

Install your distribution's updated polkit package. The record gives no version number; check your vendor's advisory.

Which products are affected by CVE-2021-4034?

polkit (pkexec) on Linux systems; the record lists all versions.. See the affected products list on this page for exact versions.

References

Change log

    • First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.

Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.

SecureCyberVM

Install SecureCyberVM

Get the Daily Threat Briefing and exploited-CVE alerts one tap away, full screen, like an app.