What it is
CVE-2021-4034 is a vulnerability affecting Freedesktop.org polkit. A local privilege escalation vulnerability was found on polkit's pkexec utility.
Vulnerability Intelligence
polkit Privilege Escalation
Freedesktop.org / polkit · all
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
Review EvidenceDecision summary
Direct answers before the deeper technical record.
What it is
CVE-2021-4034 is a vulnerability affecting Freedesktop.org polkit. A local privilege escalation vulnerability was found on polkit's pkexec utility.
Have exploitation attempts been observed?
Yes. Exploitation attempts have been reported for this vulnerability. Previdian lists it as a known exploited vulnerability. Listed in CISA KEV. Also reported by third-party sources. Confidence is confirmed.
Who is affected?
Freedesktop.org / polkit all.
What should we do?
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
Overview
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.
Exploitation evidence
Third-party attestation and first-party sensor observation are shown separately so teams can judge the evidence chain.
CISA
A trusted third party reported exploitation attempts.
GitHub
Public scanner or PoC coverage increases practical exploitability.
Per-source evidence links for KEV attestations are available through the Previdian API.
Request a Demo| Source | Added |
|---|---|
| CISA First | 2022-06-27 00:00 UTC |
| CVE | 2026-08-15 04:10 UTC |
Detection
Make the evidence actionable in scanner, SOC, and edge-control workflows.
Metasploit template detected 28 Apr 2025.
View Metasploit template (opens in new tab)No Previdian virtual patch is currently available. Future rules ship for ModSecurity, Cloudflare, and AWS WAF.
Learn about virtual patches →Scanner and exploit-framework references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/cve_2021_4034_pwnkit_lpe_pkexec.rb | 28 Apr 2025 |
Risk and context
CVSS v3.1
Potential damage if exploited. Separate from whether attackers are using it.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
94.9%
Estimated chance of exploitation in the next 30 days. Previdian's warning comes from evidence, not this score.
Recent mention · The Hacker News
Ravie LakshmananNov 11, 2026Vulnerability / Enterprise Security The U.S. Cybersecurity and Infrastructure Security Agency (CISA) Tuesday added two security flaws impacting Cisco BroadWorks and Openwave Messaging Webtop Media Transcoder to its Known Exploited Vulnerabilities...
Read full advisoryCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
Recent mention · The Hacker News
Cisco BroadWorks and Openwave Flaws Actively Exploited Despite Available PatchesThe Hacker News · 11 Nov 2026
Ravie LakshmananNov 11, 2026Vulnerability / Enterprise Security The U.S. Cybersecurity and Infrastructure Security Agency (CISA) Tuesday added two security flaws impacting Cisco BroadWorks and Openwave Messaging Webtop Media Transcoder to its Known Exploited Vulnerabilities (KEV) catalog, citing evidence of active exploitation. Details of the vulnerabilities are below - CVE-2026-20320 (CVSS score: 7.5) - An improper restriction of XML external entity reference vulnerability in the Open Client Interface (OCI) XML Parser of Cisco BroadWorks that could allow an unauthenticated, remote...
Recent mention · Palo Alto Unit42
AI-Powered Espionage Campaign Targets Government Linux InfrastructurePalo Alto Unit42 · 15 Oct 2026
Our analysis an AI-powered espionage campaign targeting government Linux infrastructure with custom malware, web shells, and advanced credential theft. The post AI-Powered Espionage Campaign Targets Government Linux Infrastructure appeared first on Unit 42.
Recent mention · The Hacker News
CyberXero Uses Claude Code in Campaign That Stole Over 628,000 Ukrainian RecordsThe Hacker News · 12 Oct 2026
Ravie LakshmananOct 12, 2026Web Security / Cybercrime Cybersecurity researchers have disclosed details of a two-pronged artificial intelligence (AI)-augmented initial access campaign targeting WordPress sites, e-commerce platforms, and critical infrastructure entities in Ukraine. The activity, which brings together commodity offensive tools like Cobalt Strike with an AI orchestration layer powered by Anthropic's Claude Code, has been attributed to a Russian-speaking, financially motivated initial access broker codenamed CyberXero. The threat actor is assessed to be active since at least...
Recent mention · SOCRadar
Operation Master: Deconstructing a Multi-Tiered Intrusion and Monetization PipelineSOCRadar · 24 Sep 2026
Operation Master: Deconstructing a Multi-Tiered Intrusion and Monetization Pipeline SOCRadar Threat Research Unit (STRU) has uncovered an end-to-end cybercrime operation dubbed Operation Master, in which a threat actor c
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2022-01-25 23:11:30 UTC · 72 stars · AI assessment 90%
Local Privilege Escalation in polkit's pkexec
API
Confidence, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
GET /api/v2/enterprise/kevs/CVE-2021-4034
Sample API response{
"cve_id": "CVE-2021-4034",
"confidence": "Confirmed",
"cvss_score": 7.8,
"cvss_estimated": false,
"epss_score": 0.94921,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "attempts": 0, "sensors": 0 }
}
Timeline
04:10 UTC
Exploitation attempts reported by an external source
15:02 UTC
Exploit module available
00:00 UTC
Listed in the CISA Known Exploited Vulnerabilities catalog
00:00 UTC
Vulnerability disclosed publicly
23:11 UTC
Public proof-of-concept code published
00:00 UTC
Identifier reserved by the CNA