PT-2026-34331 · Unknown+3 · Packagekit+3
Msatdt
·
Published
2026-04-08
·
Updated
2026-05-14
·
CVE-2026-41651
CVSS v3.1
8.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PackageKit versions 1.0.2 through 1.3.4
Description
PackageKit, a D-Bus abstraction layer for secure package management across different distributions and architectures, contains a time-of-check time-of-use (TOCTOU) race condition. This issue allows a local unprivileged user to install arbitrary packages, including RPM packages and their associated scriptlets, without authentication, leading to local privilege escalation and full root access. The flaw is caused by a race condition on the
transaction->cached transaction flags variable combined with a state-machine guard that discards illegal backward transitions while leaving corrupted flags in place.Technical details involve three bugs in
src/pk-transaction.c:- The
InstallFiles()function unconditionally overwritestransaction->cached transaction flagswith caller-supplied flags, even if the transaction is already running. - The
pk transaction set state()function silently rejects backward state transitions (such asRUNNINGtoWAITING FOR AUTH), allowing the transaction to continue with corrupted flags. - The scheduler's idle callback reads
cached transaction flagsat the time of dispatch rather than at the time of authorization, causing the backend to process the attacker's flags.
Exploitation can be triggered via the
pkcon install command and may result in an assertion failure and crash of the PackageKit daemon.Recommendations
Update PackageKit to version 1.3.5.
For Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, and 26.04 LTS, update to the package versions specified in USN-8195-1, such as
packagekit version 1.1.13-2ubuntu1.1+esm1.
For Ubuntu 25.10, update packagekit to version 1.3.1-1ubuntu1.1.
For Ubuntu 24.04 LTS, update packagekit to version 1.2.8-2ubuntu1.5.
For Ubuntu 22.04 LTS, update packagekit to version 1.2.5-2ubuntu3.1.Exploit
Fix
LPE
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Packagekit
Rocky Linux
Ubuntu