CVE-2026-78422
HIGH 7.3CVSS 4.0`zbus_polkit`: authorization bypass via PID reuse
Subject::new_for_owner() in the zbus_polkit crate encodes the uid entry of a unix-process polkit subject as an unsigned 32-bit integer (D-Bus type u), whereas the org.freedesktop.PolicyKit1.Authority interface specifies a signed 32-bit integer (D-Bus type i). Because of this type mismatch, polkit silently discards the caller-supplied UID and instead determines the subject's owner itself by looking up the PID in /proc, a lookup that is inherently subject to a time-of-check/time-of-use race.
Consequently, an application that passes a UID obtained from a trustworthy source — for example SO_PEERCRED Unix socket peer credentials — in order to defend against PID reuse receives no protection, and the supplied UID has no effect on the authorization decision. A local unprivileged attacker who can cause an authorized process to terminate and then win the race to have their own process assigned the same PID can be authorized under the identity of the terminated process, bypassing the polkit authorization check and performing actions the attacker is not entitled to.
This issue affects zbus_polkit before 5.1.0.
- Published
- 31 Aug 2026
- Last modified
- 2 Sep 2026
- Assigned by
- meissner@suse.de
- NVD status
- Awaiting Analysis
- Weakness
- CWE-367
- Also known as
- RUSTSEC-2026-0278
- Sources
- NVDJSONOSV RUSTSEC-2026-0278JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | meissner@suse.de (Secondary) | CVSS 4.0 | HIGH 7.3 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | RustSec | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | zbus_polkit | >= 0.0.0-0, < 5.1.0 | 5.1.0 |
References
- https://bugzilla.suse.com/show_bug.cgi?id=1277659 · WEB
- https://github.com/z-galaxy/zbus_polkit/pull/101 · WEB
- https://crates.io/crates/zbus_polkit · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2026-0278.html · ADVISORY
History
- 25 Nov 2026 21:05 UTC · NVD: first stored (published 31 Aug 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Aug 2026)