CISA list

As of , CVE-2021-4034 in Red Hat Polkit is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2021-4034

Red Hat Polkit: Out-of-Bounds Read and Write. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Ransomware use
  • Metasploit module
  • EPSS 0.95

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects all versions of polkit.

    The record's list of affected products names no fixed version.

EPSS score
0.95
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 27 June 2022
US federal deadline
18 July 2022 21 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Known CISA changed it from Unknown to Known on 14 August 2026.
EPSS when listed
0.09 on 27 June 2022 EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 1 Exploit-DB entry

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekListed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00Listed by CISAEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2021-4034 since CISA listed it, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.09
0.13
0.10
0.04
0.02
0.04
0.00
0.88
0.87
0.88
0.87
0.89
0.88
0.89
0.90
0.89
0.90
0.88
0.89
0.88
0.89
0.88
0.89
0.88
0.87
0.88
0.87
0.88
0.87
0.86
0.87
0.89
0.88
0.89
0.88
0.87
0.88
0.87
0.86
0.87
0.88
0.87
0.84
0.87
0.84
0.83
0.84
0.93
0.85
0.83
0.84
0.87
0.89
0.87
0.88
0.87
0.88
0.89
0.88
0.87
0.88
0.87
0.88
0.89
0.88
0.87
0.89
0.88
0.87
0.95
0.94
0.95

Timeline

What happened when

  1. Exploit-DB published an exploit (EDB-ID 50689).
  2. The CVE record was published.
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.
  5. CISA changed its entry. Ransomware use: Unknown to Known.

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

The Red Hat polkit pkexec utility contains an out-of-bounds read and write vulnerability that allows for privilege escalation with administrative rights.

CISA's 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.

The CVE record's description, from redhat

CVE published
28 January 2022
Assigned by
redhat
CVSS
7.8 High (CVSS 3.1, from CISA-ADP)
CWE-787
Out-of-bounds Write
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
Local Privilege Escalation in polkits pkexec
exploit module, rank excellent
Exploit-DB
PolicyKit-1 0.105-31 - Privilege Escalation
EDB-ID 50689, 27 January 2022

Same product

Polkit: other exploited entries

Other exploited Polkit entries
VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2021-3560Incorrect AuthorizationPolkitPatch this weekMetasploitExploit-DBDue0.22
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)