Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-4034-PwnKit — Nim-based proof-of-concept for CVE-2021-4034 (PwnKit), a local privilege escalation in polkit's pkexec, with embedded payload library for standalone execution. | Kitploit
Tools/GitHubGitHub/navisec/cve-2021-4034-pwnkit
Privilege EscalationExploit FrameworksExploitationPayload DevelopmentBinary Exploitation
GitHubnavisec/cve-2021-4034-pwnkit

CVE-2021-4034-PwnKit

Nim-based proof-of-concept for CVE-2021-4034 (PwnKit), a local privilege escalation in polkit's pkexec, with embedded payload library for standalone execution.

View Repository
664 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-4034-PwnKit

PwnKit PoC for Polkit pkexec CVE-2021-4034

Based on the PoC by blasty
blasty-vs-pkexec.c

For PwnKit details see the blog poet at Qualys PwnKit: Local Privilege Escalation Vulnerability Discovered in polkit’s pkexec (CVE-2021-4034)

Summary

This repo is a nim based PwnKit PoC. The payload shared library is embedded in the executable, so gcc is not required on the target.

To get set up with a nim enviroment, see HuskyHacks post. Nim on the Attack: Process Injection Using Nim and the Windows API

Issues and PRs welcome.

Setup

Clone the repo and run make to create the navipwnkit executable.

Copy the executable to the target and run to get root.

navipwnkit getting root

Download Tool