Pack2TheRoot Linux Flaw Lets Unprivileged Users Install Packages as Root

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
CockpitSince PackageKit is an optional dependency of the Cockpit project, many servers with Cockpit installed might be vulnerable as well, including Red Hat Enterprise Linux (RHEL),” Deutsche Telekom notes.Debian Linuxinclude Ubuntu Desktop 18.04 (EOL), 24.04.4 (LTS), 26.04 (LTS beta), Ubuntu Server 22.04 – 24.04 (LTS), Debian Desktop Trixie 13.4, RockyLinux Desktop 10.1, Fedora 43 Desktop, and Fedora 43 Server.Fedora26.04 (LTS beta), Ubuntu Server 22.04 – 24.04 (LTS), Debian Desktop Trixie 13.4, RockyLinux Desktop 10.1, Fedora 43 Desktop, and Fedora 43 Server.PackageKitAn easily exploitable, high-severity vulnerability in the PackageKit cross-distro package management abstraction layer allows unprivileged users to install packages with root privileges.Red Hat Enterprise LinuxSince PackageKit is an optional dependency of the Cockpit project, many servers with Cockpit installed might be vulnerable as well, including Red Hat Enterprise Linux (RHEL),” Deutsche Telekom notes.RockyLinux(EOL), 24.04.4 (LTS), 26.04 (LTS beta), Ubuntu Server 22.04 – 24.04 (LTS), Debian Desktop Trixie 13.4, RockyLinux Desktop 10.1, Fedora 43 Desktop, and Fedora 43 Server.UbuntuTelekom’s Red Team, which discovered the vulnerability, Linux distributions confirmed as affected include Ubuntu Desktop 18.04 (EOL), 24.04.4 (LTS), 26.04 (LTS beta), Ubuntu Server 22.04 – 24.04 (LTS), Debian Desktop
