CVE-2021-4034
CVE-2021-4034 — Red Hat Polkit Out-of-Bounds Read and Write Vulnerability
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.
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Jun 27, 2022
EPSS
95%
top of FIRST's scoreset
CVSS base
7.8
high · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Http Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Jul 18, 2022 — passed 1,600 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Oracle | http server | 12.2.1.3.0 | Vulnerable |
| Oracle | zfs storage appliance kit | 8.8 | Vulnerable |
| Polkit Project | polkit | n/a | Vulnerable |
| Red Hat | enterprise linux server update services for sap solutions | 7.6 | Vulnerable |
| Siemens | sinumerik edge | 3.2 | Vulnerable |
| Starwindsoftware | command center | 1.0 | Vulnerable |
| Starwindsoftware | starwind hyperconverged appliance | n/a | Vulnerable |
| Starwindsoftware | starwind virtual san | v8 | Vulnerable |
| SUSE | enterprise storage | 7.0 | Vulnerable |
| SUSE | linux enterprise high performance computing | 15.0 | Vulnerable |
| SUSE | manager proxy | 4.1 | Vulnerable |
| SUSE | manager server | 4.1 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Local
Privileges Req
Low
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | high | 1.8 | 5.9 | NVD, CNA |
| 7.2 | CVSS 2.0 | high | 3.9 | 10 | NVD |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-787 · Out-of-bounds Write
- Modify Memory
- DoS: Crash, Exit, or Restart
- Execute Unauthorized Code or Commands::
Mitigation: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, many languages that perform their own memory management, such as Java and Perl, are not subject to buffer overflows. Other languages, such as Ada and C#, typically provide overflow protection, but the protection can be disabled by the programmer. Be wary that a language's interface to native code may still be subject to overflows, even if the language itself is theoretically safe.
CWE-125 · Out-of-bounds Read
- Read Memory
- Bypass Protection Mechanism
Mitigation: Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.
Weakness & attack patterns
- CWE-787Out-of-bounds Write
- CWE-125Out-of-bounds Read
Inferred from the weakness class — not observed against this CVE.
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Jun 27, 2022
Federal deadline
Jul 18, 2022
passed 1,600 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
478
2 of the 5 sampled are weaponized
Exploit entries
134
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
9
Named
Akira
akira, elf.akira, win.akira
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
#threatreport #HighCompleteness Operation Snowball: Inside an Autonomous AI Intrusion Campaign | 08-11-2026 Source: https://t.co/HWyfv26giP Key details below ↓ 💀Threats: Sliver_c2_tool, Nmap_tool, Masscan_tool, Naabu_tool, Gogo_tool, Nuclei_tool, Impacket_tool, Socat_tool, Chisel_tool, Frpc_tool, Suo5_tool, Hashcat_tool, Supply_chain_technique, Pwnkit_tool, Citrix_bleed_vuln, Eternalblue_vuln, Ju…
@rst_cloud· Nov 9, 2026
@NitinGavhane_ CVE-2021-4034 • Pwnkit - 2022
@Alex_rubius· Sep 14, 2026
How does a Linux vulnerability hide for more than a decade? PwnKit did. CVE-2021-4034 created a path from an unprivileged user to root. See how PwnKit works and what defenders can learn from it:⤵️ https://t.co/fLnFaHhPSH https://t.co/svfzvNHuv3
@SecurityTube· Sep 10, 2026
How does a Linux vulnerability hide for more than a decade? PwnKit did. CVE-2021-4034 created a path from an unprivileged user to root. See how PwnKit works and what defenders can learn from it:⤵️ https://t.co/wHUkjNsMxa https://t.co/YJ6SeBZjFS
@INEsecurity· Sep 10, 2026
pkexec ships SUID-root on every major Linux distro. it had a local root exploit in its very first commit, May 2009, hidden for 12 years. CVE-2021-4034, "PwnKit". the bug isn't a clever overflow. it's what happens when you assume argc is never 0. execve lets you run a program https://t.co/ZA6IteRGxJ
@LxlxIxlxlxL· Aug 7, 2026
9 more posts on this CVEShowing 5 of 14 · Who is discussing this CVE, and how loudlyUnlock freeDetection rules
Sigma and YARA rules a source published for this CVE — the only detection content any connected source supplies.

- YARALinux_Exploit_CVE_2021_4034_1c8f235d
- SIGMACVE-2021-4034 Exploitation Attempt
- SIGMAPwnKit Local Privilege Escalation
- YARALinux_Exploit_CVE_2021_4034_1c8f235d
- SIGMAPwnKit Local Privilege Escalation
5 more detection rules on this CVEShowing 5 of 10 · Sigma and YARA content you can deploy todayUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Monitor for scanner or exploit-pattern traffic after 612 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
24 more threat groups on this CVEShowing 5 of 29 · Attribution, campaigns and the malware each one runsUnlock free- ip42.235.83.12375
Cyber Threat Alliance (CTA) · Jun 7, 2024
- ip83.219.1.19853
GreyList · Mar 29, 2024
- ip103.14.48.25485
Cisco-Talos · Dec 5, 2022
- hashd94f75a70b5cabaf786ac57177ed841732e62bdcc9a29e06e5b41d9be567bcfa98
Kaspersky Public Requests · Aug 16, 2024
- hash18821dbb53892d6faa14b1f063517a030205729095
Kaspersky Public Requests · Sep 3, 2024
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited SerhiiMaruniak/CVE-2021-4034
Oct 18, 2026 · SOCRadar CTI
Cve is exploited nicoibarburu/CVE-2021-4034
Aug 22, 2026 · SOCRadar CTI
Cve is exploited ropydev/CVE-2021-4034-PwnKit
Jul 12, 2026 · SOCRadar CTI
Cve is exploited mac3d0/CVE-2021-4034-pwnkit
Jul 12, 2026 · SOCRadar CTI
Cve is exploited krleejihyeong/WHS4_CVE-2021-4034
Jul 12, 2026 · SOCRadar CTI
Cve is exploited rusakalimantan/PwnKit-CVE-2021-4034
Jul 12, 2026 · SOCRadar CTI
Added · CVSS 3.1 7.8 (AV:L)
Jun 17, 2026 · NVD
Cve is exploited devianntsec/CVE-2021-4034
May 29, 2026 · SOCRadar CTI
- 2022
Added to CISA KEV catalog
Jun 27, 2022 · CISA
Initial · CVE published
Jan 28, 2022 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 18×SVRS was changedMay 25, 2026 – Oct 18, 2026 · SOCRadar CTI
- 9×Github ReposJun 13, 2026 – Oct 14, 2026 · SOCRadar CTI
- 3×TweetsAug 8, 2026 – Sep 15, 2026 · SOCRadar CTI
- 1×1 time mentioned on 1 Telegram channelOct 15, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Jun 25, 2026 · SOCRadar CTI
References
14 on the record
- packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
Exploit, Third Party Advisory, VDB Entry, GITHUB, NIST
- packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html
Third Party Advisory, VDB Entry, GITHUB, NIST
- access.redhat.com/security/vulnerabilities/RHSB-2022-001
Mitigation, Vendor Advisory, NIST
- bugzilla.redhat.com/show_bug.cgi?id=2025869
Issue Tracking, Patch, NIST
- cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf
Third Party Advisory, NIST
- gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683
Patch, NIST
- www.oracle.com/security-alerts/cpuapr2022.html
Patch, Third Party Advisory, GITHUB, NIST
- www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
Exploit, Mitigation, Third Party Advisory, NIST
Coverage
16 stories from the feeds we poll
Jailbroken AI Agent Ran Two-Week Cyberattack on European Telecom, Targeted 13 Organisations - Convergence Now
convergence-now.com · Nov 13, 2026
Operation Snowball Exposes AI Hacking Campaign Targeting European Telecom and 13 Hosted Organizations - GBHackers News
gbhackers.com · Nov 9, 2026
October 2026 CVE Landscape - Recorded Future
recordedfuture.com · Nov 6, 2026
October 2026 CVE Landscape
recordedfuture.com · Nov 6, 2026
Analyzing the PwnKit local privilege escalation exploit
snyk.io · Jan 29, 2022
11 more reports on this CVEShowing 5 of 16 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2013-0422 Oracle JRE Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2012-5076 Oracle Java SE Sandbox Bypass VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2012-1723 Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2019-16928 Exim Out-of-bounds Write VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-14667 Red Hat JBoss RichFaces Framework Expression Language Injection VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2018-6789 Exim Buffer Overflow VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Oracleevery CVE for this vendor
- Polkit Projectevery CVE for this vendor
- Red Hatevery CVE for this vendor
- http serverevery page on this product
- zfs storage appliance kitevery page on this product
- June 2022what else CISA listed
- Memory Corruptionsame class
- CWE-787other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2021-4034 is Red Hat Polkit Out-of-Bounds Read and Write Vulnerability, a high vulnerability affecting Http Server, Zfs Storage Appliance Kit, Polkit, Enterprise Linux Server Update Services For Sap Solutions, Sinumerik Edge, Command Center, Starwind Hyperconverged Appliance, Starwind Virtual San, Enterprise Storage, Linux Enterprise High Performance Computing, Manager Proxy, Manager Server, Ubuntu Linux, Enterprise Linux Server Aus, Enterprise Linux Server Eus, Enterprise Linux Server Tus, Enterprise Linux Desktop, Enterprise Linux Eus, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Power Big Endian, Enterprise Linux Server, Enterprise Linux Workstation, Enterprise Linux, Scalance Lpe9403 Firmware, Linux Enterprise Desktop, Linux Enterprise Server, Linux Enterprise Workstation Extension, Enterprise Linux For Power Little Endian Eus, Enterprise Linux For Power Little Endian, Enterprise Linux For Scientific Computing from Oracle, Polkit Project, Redhat, Siemens, Starwindsoftware, SUSE, Canonical. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 612 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 7.8 describes technical severity, while EPSS 95% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.