{"affected":[{"conditional":false,"product":"packagekit","source":"NVD","vendor":"packagekit_project","versions":[{"greaterThanOrEqual":"1.0.2","lessThan":"1.3.5","status":"affected","version":"*","versionType":"custom"}]}],"cpeConfigurations":[{"negate":false,"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:packagekit_project:packagekit:*:*:*:*:*:*:*:*","versionEndExcluding":"1.3.5","versionStartIncluding":"1.0.2","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"OR"}],"cveId":"CVE-2026-41651","cwes":["CWE-367"],"description":"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.\n\nA 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`:\n1. 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.\n2. 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.\n3. 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.","epss":null,"exploits":[{"kind":"exploit","source":"security-advisories@github.com","url":"https://github.com/PackageKit/PackageKit/security/advisories/GHSA-f55j-vvr9-69xv"},{"kind":"exploit","source":"security-advisories@github.com","url":"https://github.security.telekom.com/2026/04/pack2theroot-linux-local-privilege-escalation.html"}],"kev":null,"metrics":[{"score":8.8,"severity":"high","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},{"score":8.8,"severity":"high","source":"NVD: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794438600263,"publishedAt":1776867424617,"references":[{"source":"security-advisories@github.com","tags":["Product"],"url":"https://github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/src/pk-transaction.c#L2273-L2277"},{"source":"security-advisories@github.com","tags":["Product"],"url":"https://github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/src/pk-transaction.c#L4036"},{"source":"security-advisories@github.com","tags":["Product"],"url":"https://github.com/PackageKit/PackageKit/blob/04057883189efa225a7c785591aa87cb299782f8/src/pk-transaction.c#L873-L882"},{"source":"security-advisories@github.com","tags":["Exploit","Vendor Advisory"],"url":"https://github.com/PackageKit/PackageKit/security/advisories/GHSA-f55j-vvr9-69xv"},{"source":"security-advisories@github.com","tags":["Exploit","Third Party Advisory"],"url":"https://github.security.telekom.com/2026/04/pack2theroot-linux-local-privilege-escalation.html"},{"source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Patch","Third Party Advisory"],"url":"http://www.openwall.com/lists/oss-security/2026/04/22/6"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:11504"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:11635"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:17558"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:17560"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:17561"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:18024"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:18031"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:18036"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:19141"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:19354"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:19454"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:19601"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/errata/RHSA-2026:22146"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://access.redhat.com/security/cve/CVE-2026-41651"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2460604"},{"source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","tags":[],"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41651.json"}],"remediation":[{"kind":"fix","source":"af854a3a-2127-422b-91ae-364da2661108","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"http://www.openwall.com/lists/oss-security/2026/04/22/6"}],"revision":"66a84f548693018e7d594776186a3ba6bac18c853ac0e91fe8bd8265c086df28","sources":[{"modifiedAt":1794438600263,"name":"NVD","retrievedAt":1794442722538,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41651"}],"ssvc":{"assessedAt":1777939200000,"automatable":"no","exploitation":"none","source":"NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0","technicalImpact":"total"},"status":"published","title":"CVE-2026-41651","updatedAt":1794442722538}