zbus_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID
Published Aug 31, 2026
7.3
HIGHCVSS 4.0
EPSS 0.13%
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.
Affected products
-
- Version 0StatusaffectedConstraints<5.1.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Z-Galaxy | Zbus Polkit | unaffected |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat products are not affected by this vulnerability as they do not ship the zbus_polkit crate. Community packages in Fedora and EPEL are affected.
Red Hat mitigation
Upgrade zbus_polkit to version 5.1.0 or later.
Metrics
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
1 other source (NVD) ▾
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
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Sep 1, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
Sep–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.13% (0.00125) | 1.89th | v5 (v2026.06.15) |
| Sep 1, 2026 | 0.09% (0.00090) | 0.50th | v5 (v2026.06.15) |
References (6)
- https://access.redhat.com/security/cve/CVE-2026-78422 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2526327 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1277659 issue-tracking
- https://github.com/z-galaxy/zbus_polkit/pull/101 patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-78422
- https://www.cve.org/CVERecord?id=CVE-2026-78422
Change history (0)
No recorded changes yet.