Pack2TheRoot Linux Flaw Lets Unprivileged Users Install Packages as Root

· Original article ↗

Summary

Pack2TheRoot (CVE-2026-41651) is a high-severity PackageKit TOCTOU flaw that can let unprivileged users install arbitrary RPM packages as root. PackageKit 1.3.5 and recent distribution updates address it.

Key points

  • The flaw is a TOCTOU race condition involving transaction flags that can let an attacker’s flags reach the package-management backend.
  • A NIST advisory says an unprivileged user can exploit it to install arbitrary RPM packages, including packages with scriptlets, as root without authentication.
  • The vulnerability affects PackageKit versions 1.0.2 through 1.3.4 and may have existed since version 0.8.1.
  • Confirmed affected distributions include Ubuntu, Debian, Rocky Linux, and Fedora; Deutsche Telekom says other distributions shipping PackageKit enabled may also be vulnerable.
  • Deutsche Telekom says exploitation can cause the PackageKit daemon to crash, leaving an observable system-log trace; systemd recovers it on a later D-Bus invocation.
  • PackageKit 1.3.5 addresses the flaw, and recent Debian, Ubuntu, and Fedora updates include patches.

Article Details

Vulnerability Types
  • Time-of-check time-of-use (TOCTOU) race condition on transaction flags
Severity
High (CVSS 8.1)
Affected Versions
  • PackageKit 1.0.2–1.3.4 (confirmed affected)
  • PackageKit back to version 0.8.1 (likely affected)
  • Ubuntu Desktop 18.04
  • Ubuntu Desktop 24.04.4
  • Ubuntu Desktop 26.04
  • Ubuntu Server 22.04–24.04
  • Debian Desktop Trixie 13.4
  • RockyLinux Desktop 10.1
  • Fedora 43 Desktop
  • Fedora 43 Server
Exploitation Status
reported
Exploit Availability
unknown
Patch Status
available

MITRE ATT&CK

CVE

Products

Related Articles