CVE-2026-41651 | PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root

Exp

PackageKit is a a D-Bus abstraction layer that allows the user to manage packages in a secure way using a cross-distro, cross-architecture API. PackageKit between and including versions 1.0.2 and 1.3.4 is vulnerable to a time-of-check time-of-use (TOCTOU) race condition on transaction flags that allows unprivileged users to install packages as root and thus leads to a local privilege escalation. This is patched in version 1.3.5. A local unprivileged user can install arbitrary RPM packages as root, including executing RPM scriptlets, without authentication. The vulnerability is a TOCTOU race condition on `transaction->cached_transaction_flags` combined with a silent state-machine guard that discards illegal backward transitions while leaving corrupted flags in place. Three bugs exist in `src/pk-transaction.c`: 1. Unconditional flag overwrite (line 4036): `InstallFiles()` writes caller-supplied flags to `transaction->cached_transaction_flags` without checking whether the transaction has already been authorized/started. A second call blindly overwrites the flags even while the transaction is RUNNING. 2. Silent state-transition rejection (lines 873–882): `pk_transaction_set_state()` silently discards backward state transitions (e.g. `RUNNING` → `WAITING_FOR_AUTH`) but the flag overwrite at step 1 already happened. The transaction continues running with corrupted flags. 3. Late flag read at execution time (lines 2273–2277): The scheduler's idle callback reads cached_transaction_flags at dispatch time, not at authorization time. If flags were overwritten between authorization and execution, the backend sees the attacker's flags.

Published: 2026-04-22 Last update: 2026-05-05 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-41651 is rated High Exploit Risk (62.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.15%). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2026-41651

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2026-41651

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-24 0.13% 0.15% +0.02%
2 2026-05-22 0.22% 0.13% -0.09%
3 2026-04-25 0.22%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-41651

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.0 6.0 [email protected]

Weakness enumeration for CVE-2026-41651

OS Trackers for CVE-2026-41651

vendor priority summary link
debian not yet assigned CVE-2026-41651 not yet assigned priority: Debian including 1 source packages (packagekit), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2026-41651
redhat high https://access.redhat.com/security/cve/CVE-2026-41651
suse high CVE-2026-41651 severity important: SUSE including 23 source package names (PackageKit-1.1.3-24.21.1, PackageKit-1.2.4-150400.3.29.1, …), 28 product×package rows across 5 product lines (SUSE Linux Enterprise Module for Desktop Applications 15 SP7, SUSE Linux Enterprise Server 12 SP3-TERADATA, … (5 product lines)): First Fixed 28. https://www.suse.com/security/cve/CVE-2026-41651/
ubuntu high CVE-2026-41651 high priority: Ubuntu including 1 source packages (packagekit), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): released 8. https://ubuntu.com/security/CVE-2026-41651

Affected software / configurations for CVE-2026-41651

Vendor Product Version Raw CPE
packagekit_project packagekit >= 1.0.2, < 1.3.5 cpe:2.3:a:packagekit_project:packagekit:*:*:*:*:*:*:*:*

References for CVE-2026-41651

cvelogic Threat Intelligence