๐Ÿ” CVE Alert

CVE-2026-78422

UNKNOWN 0.0

zbus_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-686 CWE-367
Vendor z-galaxy
Product zbus_polkit
Published Aug 31, 2026
Stay Ahead of the Next One

Get instant alerts for z-galaxy zbus_polkit

Be the first to know when new unknown vulnerabilities affecting z-galaxy zbus_polkit are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

z-galaxy / zbus_polkit
0 < 5.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/z-galaxy/zbus_polkit/pull/101 bugzilla.suse.com: https://bugzilla.suse.com/show_bug.cgi?id=1277659

Credits

Ilya Zlobintsev