CVE-2021-4034
Red Hat Polkit Out-of-Bounds Read and Write Vulnerability
CVE-2021-4034 is a high-severity vulnerability (CVSS 7.8, v3.1) in Red Hat Polkit.
CISA added it to the Known Exploited Vulnerabilities catalog on 2022-06-27, so exploitation in the wild is confirmed. US federal agencies had to remediate it by 2022-07-18 (BOD 22-01).
CISA lists known use in ransomware campaigns.
FIRST EPSS estimates a 94.9% probability of exploitation in the next 30 days, higher than 100% of all scored CVEs.
A Metasploit module exists for it (Local Privilege Escalation in polkits pkexec).
Exploit-DB lists a public exploit (EDB-50689).
NVD references a patch or vendor advisory.
Debian and Ubuntu ship a fixed package (policykit-1 0.105-31.1 in Debian bookworm).
- Affected
- Red Hat Polkit all 114 Red Hat CVEs
- Severity
- 7.8 High
- EPSS
- 94.92% probability of exploitation in 30 dayshigher than 100% of all scored CVEs
- Exploitation
- Confirmed in the wild by CISA
- CISA SSVC
- exploitation active · automatable no · technical impact total
- Metasploit
exploit/linux/local/cve_2021_4034_pwnkit_lpe_pkexec- Fix
- Patch or vendor advisory referenced
- CWE
- CWE-787
Description
The Red Hat polkit pkexec utility contains an out-of-bounds read and write vulnerability that allows for privilege escalation with administrative rights.
Required action (CISA)
Apply updates per vendor instructions.
| Source | Exploit | Type | Date |
|---|---|---|---|
| Metasploit | Local Privilege Escalation in polkits pkexecexploit/linux/local/cve_2021_4034_pwnkit_lpe_pkexec | exploit | — |
| Exploit-DB | EDB-50689: PolicyKit-1 0.105-31 - Privilege Escalation | local, linux | 2022-01-27 |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- access.redhat.com /security/vulnerabilities/RHSB-2022-001
- www.qualys.com /2022/01/25/cve-2021-4034/pwnkit.txt
- bugzilla.redhat.com /show_bug.cgi
- gitlab.freedesktop.org /polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81…
- www.oracle.com /security-alerts/cpuapr2022.html
- packetstormsecurity.com /files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
- packetstormsecurity.com /files/166200/Polkit-pkexec-Privilege-Escalation.html
- www.suse.com /support/kb/doc
- cert-portal.siemens.com /productcert/pdf/ssa-330556.pdf
- www.starwindsoftware.com /security/sw-20220818-0001
- www.secpod.com /blog/local-privilege-escalation-vulnerability-in-major-li…
- www.vicarius.io /vsociety/posts/pwnkit-pkexec-lpe-cve-2021-4034
- Published (NVD)2022-01-28
- Added to KEV2022-06-27
- First seen here2026-11-21 04:41 UTC
- Due2022-07-18
| Distribution | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian bookworm | policykit-1 | fixed | 0.105-31.1 | tracker |
| Debian trixie | policykit-1 | fixed | 0.105-31.1 | tracker |
| Ubuntu focal | policykit-1 | fixed | 0.105-26ubuntu1.2 | USN-5252-1 |
| Vendor | Product | Affected versions |
|---|---|---|
| polkit | all |
Is CVE-2021-4034 exploited in the wild?
Yes. CISA lists CVE-2021-4034 in the Known Exploited Vulnerabilities catalog since 2022-06-27, which means exploitation in the wild is confirmed. It is known to be used in ransomware campaigns.
Is there a public exploit for CVE-2021-4034?
Yes: 1 Metasploit module (exploit/linux/local/cve_2021_4034_pwnkit_lpe_pkexec) and 1 Exploit-DB entry (EDB-50689).
How severe is CVE-2021-4034?
CVE-2021-4034 has a CVSS v3.1 base score of 7.8 (high), vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What is the EPSS score of CVE-2021-4034?
FIRST EPSS estimates a 94.92% probability of exploitation in the next 30 days, higher than 100% of all scored CVEs.
Is there a fix for CVE-2021-4034?
NVD references a patch or vendor advisory. Debian bookworm fixes it in policykit-1 0.105-31.1. Debian trixie fixes it in policykit-1 0.105-31.1. Ubuntu focal fixes it in policykit-1 0.105-26ubuntu1.2. CISA required action: Apply updates per vendor instructions.
| CVE | Vulnerability | CVSS | Added to KEV | Due |
|---|---|---|---|---|
| CVE-2015-5287 | Red Hat Automatic Bug Reporting Tool Privilege Escalation Vulnerability | 7.8 | 2026-08-26 | 2026-09-09 |
| CVE-2015-3246 | Red Hat Libuser Race Condition Vulnerability | 7.4 | 2026-08-26 | 2026-09-09 |
| CVE-2018-14667 | Red Hat JBoss RichFaces Framework Expression Language Injection Vulnerability | — | 2023-09-28 | 2023-10-19 |
| CVE-2021-3560 | Red Hat Polkit Incorrect Authorization Vulnerability | — | 2023-05-12 | 2023-06-02 |
| CVE-2010-1428 | Red Hat JBoss Information Disclosure Vulnerability | — | 2022-05-25 | 2022-06-15 |
| CVE-2010-0738 | Red Hat JBoss Authentication Bypass Vulnerability | — | 2022-05-25 | 2022-06-15 |
| CVE-2017-12149 | Red Hat JBoss Application Server Remote Code Execution Vulnerability | — | 2021-12-10 | 2022-06-10 |
| CVE-2010-1871 | Red Hat Linux JBoss Seam 2 Remote Code Execution Vulnerability | — | 2021-12-10 | 2022-06-10 |
| CVE | Vulnerability | CVSS | Added to KEV | Due |
|---|---|---|---|---|
| CVE-2026-76466 | Cisco Expressway Series Use of Hard-coded Credentials Vulnerability | 9.8 | 2026-11-20 | 2026-11-23 |
| CVE-2026-129448 | Apache Roller Deserialization of Untrusted Data Vulnerability | 9.8 | 2026-11-20 | 2026-11-23 |
| CVE-2026-123890 | VMWare vCenter Authentication Bypass Using an Alternate Path or Channel Vulnerability | 9.8 | 2026-11-20 | 2026-11-23 |
| CVE-2025-42884 | SAP NetWeaver Improper Neutralization of Special Elements in Data Query Logic Vulnerability | 6.5 | 2026-11-20 | 2026-11-23 |
| CVE-2026-90817 | Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection Vulnerability | 9.8 | 2026-11-18 | 2026-11-21 |
| CVE-2026-90436 | Apache Axis Unsafe Reflection Vulnerability | 9.8 | 2026-11-18 | 2026-11-21 |
| CVE-2026-40217 | BerriAI LiteLLM Unprotected Alternate Channel Vulnerability | 8.8 | 2026-11-18 | 2026-12-02 |
| CVE-2024-10441 | Synology DiskStation Manager (DSM) Improper Encoding or Escaping of Output Vulnerability | 9.8 | 2026-11-18 | 2026-11-21 |
Sources: CISA KEV, NVD, CVE.org, FIRST EPSS, Metasploit Framework module metadata, Exploit-DB, Debian and Ubuntu security trackers. Data as of 2026-11-21 04:41 UTC. New in KEV · Vendors · Open the live board