Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-41651-analysis β€” In-depth analysis of CVE-2026-41651 (Pack2TheRoot), a local privilege escalation in PackageKit. Includes vulnerability breakdown, attack chain, IoCs, and mitigation guidance. | Kitploit
Tools/GitHubGitHub/kowntaewook/cve-2026-41651-analysis
Privilege EscalationVulnerability AnalysisExploitationPapers & ResearchLearning & EducationCurated Resources
GitHubkowntaewook/cve-2026-41651-analysis

CVE-2026-41651-analysis

Share

In-depth analysis of CVE-2026-41651 (Pack2TheRoot), a local privilege escalation in PackageKit. Includes vulnerability breakdown, attack chain, IoCs, and mitigation guidance.

View Repository
316 months agoNot yet reviewed

CVE-2026-41651 β€” Pack2TheRoot Analysis

PackageKit Local Privilege Escalation (TOCTOU Race Condition)
CVSS v3.1: 8.8 (HIGH) | CWE-367 | Published: 2026-04-22


πŸ“Œ Overview

This repository compiles a personal analysis report and research material on the PackageKit local privilege escalation vulnerability CVE-2026-41651 (Pack2TheRoot) disclosed in April 2026.

ItemDetails
CVE IDCVE-2026-41651
Vulnerability NamePack2TheRoot
Affected SoftwarePackageKit 1.0.2 ~ 1.3.4
Patched VersionPackageKit 1.3.5
Attack TypeLocal Privilege Escalation (LPE)
Discovered ByDeutsche Telekom Red Team

πŸ” Vulnerability Summary

Three bugs in PackageKit's pk-transaction.c work in combination, allowing a local unprivileged user to gain root privileges.

Bug Chain

Bug 1: cached_transaction_flags unconditionally overwritten when InstallFiles() is called (Line 4036)
  ↓
Bug 2: Contaminated flags remain in memory without rollback when state transition is denied (Line 876~881)
  ↓
Bug 3: Contaminated flags are read at the time pk_transaction_run() executes (Line 2273~2277)
  ↓
Result: polkit authentication bypass β†’ arbitrary package installation as root β†’ SUID bash creation

Attack Flow

  1. Send InstallFiles(SIMULATE=0x4, dummy) asynchronously β†’ bypass polkit authentication
  2. Send InstallFiles(NONE=0x0, payload) immediately β†’ flag contamination (TOCTOU)
  3. By the time polkit NOT_AUTHORIZED is received, the package installation is already complete
  4. /tmp/.suid_bash created β†’ euid=0(root) obtained

πŸ–₯️ Analysis Environment

ItemDetails
PoC ReproductionDocker (Ubuntu 24.04.4 LTS)
IoC CollectionVirtualBox (Ubuntu 22.04.5 LTS, PackageKit 1.2.5)
Code AnalysisGitHub β€” PackageKit commit 2149735 (vulnerable) / 76cfb675 (patched)

πŸ“‚ File Structure

CVE-2026-41651-analysis/
β”œβ”€β”€ README.md
└── CVE-2026-41651_λΆ„μ„λ³΄κ³ μ„œ.docx   # Detailed analysis report

πŸ“‹ Indicators of Compromise (IoC)

The following log patterns are recorded on the system during an attack attempt.

# Detection commands
journalctl -u packagekit | grep -i "assertion\|emitted\|failed"
PackageKit[PID]: pk_backend_job_emit: assertion 'PK_IS_BACKEND_JOB(job)' failed
PackageKit[PID]: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE(instance)' failed
PackageKit[PID]: GLib-Object:CRITICAL: g_object_unref: assertion 'G_IS_OBJECT(object)' failed
PackageKit[PID]: backend job failed
PackageKit[PID]: emit transaction failed
PackageKit[PID]: daemon stop    ← crash
PackageKit[PID]: daemon start   ← automatic restart
# SUID file detection
find /tmp -perm -4000 -type f 2>/dev/null
# β†’ immediate response required if /tmp/.suid_bash exists

πŸ›‘οΈ Remediation

Apply Patch (Recommended)

# Ubuntu / Debian
sudo apt update && sudo apt upgrade packagekit

# RHEL / Fedora
sudo dnf update PackageKit

Check Vulnerability Status

# Version check (vulnerable if 1.3.4 or lower)
dpkg -l | grep -i packagekit          # Debian/Ubuntu
rpm -qa | grep -i PackageKit          # RHEL/Fedora

# Check daemon status
systemctl status packagekit

Temporary Mitigation (Before Patching)

# Disable PackageKit
sudo systemctl disable --now packagekit

⚠️ Disabling it makes GUI package management tools such as GNOME Software unavailable


πŸ“… Timeline

DateDetails
2026-04-08Deutsche Telekom Red Team β†’ Initial report to Red Hat/PackageKit
2026-04-10PackageKit maintainers acknowledged and confirmed reproduction
2026-04-13Private patch draft created
2026-04-15Vulnerability shared with Canonical
2026-04-19Private notification to distribution vendors
2026-04-22PackageKit 1.3.5 released, CVE assigned, public disclosure

πŸ”— References

  • Official CVE Page
  • GitHub Security Advisory
  • Deutsche Telekom Original Advisory
  • NVD Details
  • Patch Commit (76cfb675)
  • PoC Repository (Vozec)

⚠️ Disclaimer

This repository was created for security research and educational purposes.
Exploiting vulnerabilities or unauthorized system access may result in legal penalties, and all tests were conducted in isolated environments owned by the author.

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    589
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    361
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    324
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurityβ€”where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    322

Explore all tools

Browse our collection of tools

View all tools β†’