Summary
PackageKit's D-Bus daemon has a time-of-check/time-of-use race in transaction flag handling. A local unprivileged user can re-invoke transaction methods on the same running transaction, overwrite cached flags after authorization, and make PackageKit perform package installs or removals as root. On default installations where PackageKit is enabled, this can lead to root compromise without entering a password.
Why Fix Soon?
5/6Exploitation Details
Gain root privileges and install or remove packages, including package scriptlets.
Privilege EscalationAffected Software
| Product | Affected Versions |
|---|---|
| PackageKit | 1.0.2 through 1.3.4 |
D-Bus abstraction layer for Linux package management that lets applications refresh metadata, search repositories, install software, and remove packages through a cross-distribution API.
Affected ComponentPackageKit daemon transaction handling in src/pk-transaction.c, especially InstallFiles flag caching and transaction state transitions before backend execution.
PackageKit daemon transaction handling in src/pk-transaction.c, especially InstallFiles flag caching and transaction state transitions before backend execution.
Not available
Backport commit 76cfb675 to your current PackageKit build; it blocks re-invoking action methods on non-new transactions and prevents cached flags from being overwritten after authorization.
Backport commit 76cfb675 to your current PackageKit build; it blocks re-invoking action methods on non-new transactions and prevents cached flags from being overwritten after authorization.
Upgrade to PackageKit 1.3.5 or later, or use a distro backport that includes the fix.
Upgrade to PackageKit 1.3.5 or later, or use a distro backport that includes the fix.
Probability of exploitation in the next 30 days
Worse than 42% of all CVEs
No known threat actors
NVD Data
Description Summary
CVSS Base Score
CVSS Vector (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H)
Affected Software (CPE) (1)
- •cpe:2.3:a:packagekit_project:packagekit:*:*:*:*:*:*:*:*
Sources
| Source | Article |
|---|---|
| github.com | Race condition vulnerability leads to arbitrary package installation as root |
| nvd.nist.gov | CVE-2026-41651 Detail |
| www.openwall.com | CVE-2026-41651: TOCTOU vulnerability in PackageKit <= 1.3.4 leads to local root exploit |
| github.com | Do not allow re-invoking methods on non-new transactions |
| github.security.telekom.com | Pack2TheRoot (CVE-2026-41651): Cross-Distro Local Privilege Escalation Vulnerability |
| ubuntu.com | CVE-2026-41651 |
| github.com | Pack2TheRoot — CVE-2026-41651 |
| github.com | CVE-2026-41651 - Pack2TheRoot Vulnerability |
| www.tenable.com | CVE-2026-41651 |
| www.rapid7.com | Debian: CVE-2026-41651: packagekit -- security update |
Priority History
Initial analysis
Elevated — new exploitation evidence confirmed
Reassessed to Planned Fix
Elevated — new exploitation evidence confirmed