CVE-2021-4034 · NVD published 28 Jan 2022
Red Hat Polkit
On CISA's KEV list 150 days after disclosure; 171 public exploits; 1 attacker cited in reports.
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.
CISA required action (federal due date 18 Jul 2022): Apply updates per vendor instructions.
Signals
- KEV, exploited in the wild
- yes, added 27 Jun 2022, due 18 Jul 2022, known ransomware use
- EPSS, 30-day forecast
- 95%, 100th percentile (as of 4 Dec 2026)
- CVSS, NVD, HIGH
- 7.8
- Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Internet exposure
- not stated
KEV is an observation, EPSS a forecast; KEV outranks it.
Timeline 26 Jan 2022 to today
- Metasploit
- First PoC+1 d
- Disclosed+1 d
- KEV+150 d
150 days from disclosure to the KEV listing
Who exploits it 1 citation
- Earth Krahang
“Exploiting CVE-2021-4034, CVE-2021-22555, and CVE-2016-5195 for privilege escalation on Linux systems”
cited as exploiting · named nearby · trendmicro.com ↗ · 17 Oct 2026
Each actor is cited by the quoted source, linked under the quote. A citation is that source's claim, not our confirmation.
Linked 4 in our graph
Exploited by
- actorEarth Krahang
- malwarexmrig
Rules that detect it
- public rulePwnKit Local Privilege Escalation
- public rulePrivilege Escalation via PKEXEC Exploitation
Links our graph holds for this CVE, strongest first. The same data is in the graph API.
Indicators 1 tied by threat feeds
Addresses, hosts and files that threat feeds tag with this CVE: exploitation sources, payload hosts and what was dropped. Defanged. “In rule” marks the ones strong enough for the indicator sweep above.
- 0e7c96a22e3612c68866a8693cc583df95972d3444978ce163c024a45682133aMalware file
sha256 · XMRIG · 1 feed · last seen 2 Nov 2026
On the wire 0 dispatches
No dispatch on our wire has named this CVE yet.
Public exploit code 171 known · links only
GitHub PoCs 169Metasploit 1Exploit-DB 1
GitHub PoCs, by trust then stars169
- 0x01-sec/CVE-2021-4034-Not checked
first seen by skopnix 18 Oct 2026
- 0x05a/my-cve-2021-4034-pocNot checked
first seen by skopnix 18 Oct 2026
- 0x4ndy/CVE-2021-4034-PoCNot checked
first seen by skopnix 18 Oct 2026
- 0xNix/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- 12bijaya/CVE-2021-4034-PwnKit-Not checked
first seen by skopnix 18 Oct 2026
- A1vinSmith/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Al1ex/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- An00bRektn/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
Show 161 more
- an0n7os/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Ankit-Ojha16/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Anonymous-Family/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- antoinenguyen-09/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- artemis-mike/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- arthepsy/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- asepsaepdin/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ASG-CASTLE/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ashutoshrohilla/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- AsierEgana/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Audiobahn/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- aus-mate/CVE-2021-4034-POCNot checked
first seen by skopnix 18 Oct 2026
- ayoub-elbouzi/CVE-2021-4034-PwnkitNot checked
first seen by skopnix 18 Oct 2026
- Ayrx/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ayypril/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- azazelm3dj3d/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- azminawwar/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- battleoverflow/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- bbjubjub2494/cve-2021-4034-playgroundNot checked
first seen by skopnix 18 Oct 2026
- berdav/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- c0d3cr4f73r/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- c0d3cr4f73r/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- c3c/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- cd80-ctf/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- cdxiaodong/CVE-2021-4034-touchNot checked
first seen by skopnix 18 Oct 2026
- cerodah/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ch4rum/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- chenaotian/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ck00004/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- clubby789/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- CronoX1/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- cspshivam/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- CYB3RK1D/CVE-2021-4034-POCNot checked
first seen by skopnix 18 Oct 2026
- dadvlingd/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- deep-know/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- defhacks/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- deoxykev/CVE-2021-4034-RustNot checked
first seen by skopnix 18 Oct 2026
- dh4r4/PwnKit-CVE-2021-4034-Not checked
first seen by skopnix 18 Oct 2026
- dzonerzy/poc-cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- edsonjt81/CVE-2021-4034-LinuxNot checked
first seen by skopnix 18 Oct 2026
- EstamelGG/CVE-2021-4034-NoGCCNot checked
first seen by skopnix 18 Oct 2026
- EuJin03/CVE-2021-4034-PoCNot checked
first seen by skopnix 18 Oct 2026
- evkl1d/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- FancySauce/PwnKit-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- fdellwing/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- fei9747/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- flux10n/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- fnknda/CVE-2021-4034_POCNot checked
first seen by skopnix 18 Oct 2026
- fzlaziz/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- G01d3nW01f/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- galoget/PwnKit-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- gbrsh/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Geni0r/cve-2021-4034-pocNot checked
first seen by skopnix 18 Oct 2026
- glowbase/PwnKit-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- h3x0v3rl0rd/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- h3x0v3rl0rd/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- hackingyseguridad/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- hahaleyile/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- HrishitJoshi/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- igonzalez357/CVE-2021-4034-PwnKit-Not checked
first seen by skopnix 18 Oct 2026
- ikerSandoval003/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Immersive-Labs-Sec/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ITMarcin2211/Polkit-s-Pkexec-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- J0hnbX/CVE-2021-4034-newNot checked
first seen by skopnix 18 Oct 2026
- jcatala/f_poc_cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- JoaoFukuda/CVE-2021-4034_POCNot checked
first seen by skopnix 18 Oct 2026
- joeammond/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Joffr3y/Polkit-CVE-2021-4034-HLPNot checked
first seen by skopnix 18 Oct 2026
- JohnGilbert57/CVE-2021-4034-Capture-the-flagNot checked
first seen by skopnix 18 Oct 2026
- jostmart/-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- JoyGhoshs/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- kali-guru/Pwnkit-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Kirill89/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- LJP-TW/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- lluriam19/CVE-2021-4034-VulnNot checked
first seen by skopnix 18 Oct 2026
- locksec/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- lsclsclsc/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- LucasPDiniz/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- luckythandel/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- LukeGix/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- marcosChoucino/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- mebeim/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- milot/dissecting-pkexec-cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- moldabekov/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- movvamrocks/PwnKit-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- mutur4/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- N1et/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- n3onhacks/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- n3rdh4x0r/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- n3rdh4x0r/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- N3rdyN3xus/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- N3rdyN3xus/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- nagorealbisu/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- navisec/CVE-2021-4034-PwnKitNot checked
first seen by skopnix 18 Oct 2026
- NeonWhiteRabbit/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- Nero22k/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- nikaiw/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- nikip72/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- NiS3x/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- nobelh/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- NULL0B/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- NyxByt3/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- NyxByt3/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- oieramelibia/DEV_Practica_CVE_2021_4034Not checked
first seen by skopnix 18 Oct 2026
- pengalaman-1t/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- phvilasboas/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Pixailz/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Plethore/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Pol-Ruiz/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Pr0f3ssor/CVE-2021-4034-PwnkitNot checked
first seen by skopnix 18 Oct 2026
first seen by skopnix 18 Oct 2026
- PwnFunction/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- robemmerson/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- rvizx/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Rvn0xsy/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ryaagard/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Sakura-nee/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- san3ncrypt3d/CVE-2021-4034-POCNot checked
first seen by skopnix 18 Oct 2026
- scent2d/PoC-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Senz4wa/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Silencecyber/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- silocityit/cve-2021-4034-playgroundNot checked
first seen by skopnix 18 Oct 2026
- sofire/polkit-0.96-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Sp3c73rSh4d0w/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Sp3c73rSh4d0w/CVE-2021-4034_Python3Not checked
first seen by skopnix 18 Oct 2026
- Squirre17/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- sunny0day/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- supportingmx/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- tachote/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Tanmay-N/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TanmoyG1800/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- thatstraw/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TheJoyOfHacking/berdav-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TheSermux/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- toecesws/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TomSgn/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TotallyNotAHaxxer/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- TW-D/PwnKit-Vulnerability_CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Typical0day/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- tzwlhack/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- v-rzh/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- vilasboasph/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- wechicken456/CVE-2021-4034-CTF-writeupNot checked
first seen by skopnix 18 Oct 2026
- whokilleddb/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- wongwaituck/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- wudicainiao/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- X-Projetion/Exploiting-PwnKit-CVE-2021-4034-Not checked
first seen by skopnix 18 Oct 2026
- x04000/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- xcanwin/CVE-2021-4034-UniontechOSNot checked
first seen by skopnix 18 Oct 2026
- Y3A/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Yakumwamba/POC-CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- Z3R0-0x30/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- zcrosman/cve-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- zhzyker/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- ziadsaleemi/polkit_CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- zxc2007/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
- zxybfq/CVE-2021-4034Not checked
first seen by skopnix 18 Oct 2026
Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.
Metasploit1
A bug exists in the polkit pkexec binary in how it processes arguments. If the binary is provided with no arguments, it will continue to process environment variables as argument variables, but without any security checking. By using the execve call we can specify a null argument list and populate the proper environment variables. This exploit is architecture independent.
ruby · first seen by skopnix 18 Oct 2026
Exploit-DB1
created 27 Jan 2022
References
- nvd.nist.gov ↗
- cisa.gov · KEV catalogue ↗
- first.org · EPSS ↗
- packetstormsecurity.com · Polkit-pkexec-Local-Privilege-Escalation.html ↗
- packetstormsecurity.com · Polkit-pkexec-Privilege-Escalation.html ↗
- access.redhat.com · RHSB-2022-001 ↗
- bugzilla.redhat.com · show_bug.cgi ↗
- cert-portal.siemens.com · ssa-330556.pdf ↗
Watch this one?
KEV additions reach Telegram and the KEV-only RSS as they land.