CVE-2026-78422
published high CVSS 4.0 · 7.3zbus_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| z-galaxy | — | zbus_polkit0 to < 5.1.0 · Other versions: unaffected | Affected | Not stated | suse |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- suse · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| z-galaxy | zbus_polkit | 0 to < 5.1.0 (affected · semver)Default: unaffected | suse · cna |
Weaknesses
2- CWE-686 CWE-686 Function call with incorrect argument type
- CWE-367 CWE-367 Time-of-check time-of-use (TOCTOU) race condition
References
2Provider assertions
2suse · cna
zbus_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6f74bcaa97b69b5b86feddaeb59a01e3ad1a2851b10eec5f45d53a94dc6fa95a
- Ingested
- 23 Sep 2026, 09:33:02 UTC
- Source record
- Official CVE record