Vulnerability in packagekit
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as UBUNTU-CVE-2026-41651 has been found in packagekit.
Attackers can target a specific entry point like RUNNING over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: upgrade packagekit to 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 or later.
If unsure, ask your IT team or search "packagekit UBUNTU-CVE-2026-41651" on the vendor's site.
UBUNTU-CVE-2026-41651 (packagekit)
Attack vector: local / no user interaction
Attack surface: RUNNING / WAITING_FOR_AUTH
Patched: 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in packagekit. Attackers reach the vulnerable code path via RUNNING.
Check the vendor advisory for the affected versions of packagekit. Attack surface: RUNNING / WAITING_FOR_AUTH.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'packagekit' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'packagekit' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
packagekitを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade packagekit to 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1ステージング環境で 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:16.04:LTSpackagekit |
< 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1→ 0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 |
0.8.17-4ubuntu6~gcc5.4ubuntu1.5+esm1 |
| Ubuntu:Pro:18.04:LTSpackagekit |
< 1.1.9-1ubuntu2.18.04.6+esm1→ 1.1.9-1ubuntu2.18.04.6+esm1 |
1.1.9-1ubuntu2.18.04.6+esm1 |
| Ubuntu:Pro:20.04:LTSpackagekit |
< 1.1.13-2ubuntu1.1+esm1→ 1.1.13-2ubuntu1.1+esm1 |
1.1.13-2ubuntu1.1+esm1 |
| Ubuntu:22.04:LTSpackagekit |
< 1.2.5-2ubuntu3.1→ 1.2.5-2ubuntu3.1 |
1.2.5-2ubuntu3.1 |
| Ubuntu:24.04:LTSpackagekit |
< 1.2.8-2ubuntu1.5→ 1.2.8-2ubuntu1.5 |
1.2.8-2ubuntu1.5 |
| Ubuntu:25.10packagekit |
< 1.3.1-1ubuntu1.1→ 1.3.1-1ubuntu1.1 |
1.3.1-1ubuntu1.1 |
| Ubuntu:26.04packagekit |
< 1.3.4-3ubuntu1→ 1.3.4-3ubuntu1 |
1.3.4-3ubuntu1 |
| Ubuntu:26.04:LTSpackagekit |
< 1.3.4-3ubuntu1→ 1.3.4-3ubuntu1 |
1.3.4-3ubuntu1 |
Original description The description as published by the source.
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_…
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report lists.freedesktop.org
- report github.com
- report github.security.telekom.com