PT-2026-34331 · Unknown · Packagekit
Published
2026-04-22
·
Updated
2026-04-22
·
CVE-2026-41651
CVSS v3.1
8.8
High
| 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 contains a time-of-check time-of-use (TOCTOU) race condition involving transaction flags. This issue allows an unprivileged local user to install arbitrary RPM packages as root without authentication, including the execution of RPM scriptlets, leading to local privilege escalation. The flaw stems from three bugs in
src/pk-transaction.c: the InstallFiles() function overwrites transaction->cached transaction flags without verifying if the transaction is already authorized or running; the pk transaction set state() function silently rejects backward state transitions while leaving corrupted flags intact; and the scheduler's idle callback reads cached transaction flags at dispatch time rather than authorization time.Recommendations
Update to version 1.3.5.
Exploit
Fix
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
Packagekit