CVE-2026-41651 — PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root
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.
Who exploits it and how urgent it is
A 0–100 score combining confirmed exploitation, ransomware and APT use, public exploits, EPSS and severity.
How the score was calculated
- EPSS 0.5% (30-day exploitation probability)+6
- Technical severity (high)+6
The score orders the patch queue; it does not replace your asset context (internet exposure, criticality, compensating controls).
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the sources call it.
CISA SSVC assessment CISA
Three decision points CISA publishes for the CVEs it assesses (SSVC 2.0.3). A stakeholder decision, not a severity score.
Remediation
Fixes and mitigations documented by the sources — linked to the original advisory.
- Documented patch — www.openwall.com (NIST National Vulnerability Database)
First 24 hours
Ordered from the record’s own fields — exposure first, because you cannot patch what you have not found. A rule-generated starting point.
- Identify exposed assets running the affected vendor/product/version combinations (PackageKit PackageKit, Packagekit Project Packagekit).
- Apply the fixed version or the patch documented under Remediation.
- Search available logs for exploit probes matching the vulnerability class (logic error), errors and authentication anomalies.
Affected scope
Vendor, product and versions as the sources word them.
| Vendor | Product | Versions | Status | Source |
|---|---|---|---|---|
| PackageKit | PackageKit | version >= 1.0.2, <= 1.3.4 | Vulnerable | CVE Program (cve.org) e CISA ADP |
| Packagekit Project | Packagekit | ≥ 1.0.2 and < 1.3.5 | Vulnerable | NIST National Vulnerability Database |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Every base score collected
Sources score independently and may disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Scored by |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | High | 2.0 | 6.0 | security-advisories@github.com via NIST National Vulnerability Database |
| 8.8 | CVSS 3.1 | High | 2.0 | 6.0 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c via NIST National Vulnerability Database |
| 8.8 | CVSS 3.1 | High | — | — | GitHub_M via CVE Program (cve.org) e CISA ADP |
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (score shown at the top: security-advisories@github.com) Weakness MITRE
Weakness class according to MITRE’s CWE catalog.
EPSS over time FIRST
Oct 13, 2026 → Oct 15, 2026 · 3 reading(s) · max 0.46%
Detection
Read off the CVSS vector and the weakness class. Starting points, not tested rules.
- Local/physical vector: focus on endpoint telemetry (EDR) from affected hosts.
Timeline
What happened to this CVE, newest first.
- 2026
- Affected products added · packagekit/packagekit
- SSVC assessment updated
- Record published
- Fix documented
- CVSS changed · 8.8
- Source status changed · → Modified
- Record created in this database
- CVE published
Source activity
Repeated readings are counted rather than listed.
- 1× Official description updated · Oct 13, 2026 – Oct 13, 2026
References
22 on the record
- github.com/PackageKit/PackageKit/security/advisories/GHSA-f55j-vvr9-69xv
- www.openwall.com/lists/oss-security/2026/04/22/6
- access.redhat.com/errata/RHSA-2026:11504
- access.redhat.com/errata/RHSA-2026:18036
- access.redhat.com/errata/RHSA-2026:18024
- github.security.telekom.com/2026/04/pack2theroot-linux-local-privilege-escalation.html
- access.redhat.com/errata/RHSA-2026:19601
- github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/s
- access.redhat.com/errata/RHSA-2026:22146
- bugzilla.redhat.com/show_bug.cgi
- access.redhat.com/errata/RHSA-2026:18031
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41651.json
- access.redhat.com/errata/RHSA-2026:17560
- access.redhat.com/security/cve/CVE-2026-41651
- github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/s
- github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/s
- access.redhat.com/errata/RHSA-2026:19454
- access.redhat.com/errata/RHSA-2026:19141
- access.redhat.com/errata/RHSA-2026:17558
- access.redhat.com/errata/RHSA-2026:19354
- access.redhat.com/errata/RHSA-2026:11635
- access.redhat.com/errata/RHSA-2026:17561
Elsewhere on this site
Related CVEs (same products)
- Low CVE-2022-0987 Exposure of Sensitive Information in Packagekit Project Packagekit Jun 28, 2022
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record
Text assembled only from the fields above — no additional claims.
What should defenders know first?
CVE-2026-41651 is "PackageKit vulnerable to TOCTOU Race on Transaction Flags leads to arbitrary package installation as root", rated High. It affects PackageKit (PackageKit); versions are in the scope table. It is not in CISA KEV, which does not rule out exploitation. CVSS 8.8 describes technical severity. EPSS 0.46% estimates the probability of exploitation in 30 days; neither replaces your asset context. First verify whether exposed or business-critical assets run the affected versions, apply vendor fixes or mitigations, and preserve logs for review.
Comments
Moderated technical discussion. Read the community guidelines.
No comments yet.
Sign in or create an account to comment and suggest corrections.