# CVE-2026-78422: zbus\_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.13% (percentile 1, 2026-11-26)
- **CWE:** CWE-686, CWE-367
- **Aliases:** RUSTSEC-2026-0278
- **Published:** 2026-08-31T12:00:00.000Z
- **Modified:** 2026-09-02T09:15:02.887Z

## Who should check

- Projects that depend on crates.io package zbus\_polkit (\>= 0.0.0-0, \< 5.1.0)
- Anyone running z-galaxy zbus\_polkit \< 5.1.0

## 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 and fixed versions

- crates.io `zbus_polkit`: affected \>= 0.0.0-0, \< 5.1.0; fixed 5.1.0 (osv)
- z-galaxy zbus\_polkit: \< 5.1.0 (cvelist)

## Mitigation

- Upgrade zbus\_polkit to 5.1.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-78422. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-78422.md
Affected: zbus_polkit >= 0.0.0-0, < 5.1.0
Fixed in: 5.1.0

Steps:
1. Search this machine and project for zbus_polkit (crates.io), z-galaxy zbus_polkit: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-78422 being exploited?

There is no confirmed exploitation: CVE-2026-78422 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.13% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-78422?

High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-78422?

zbus\_polkit \>= 0.0.0-0, \< 5.1.0.

### Is there a fix for CVE-2026-78422?

Yes. Fixed in 5.1.0. Upgrade zbus\_polkit to 5.1.0 or later.

### How do I check if I'm affected by CVE-2026-78422?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://rustsec.org/advisories/RUSTSEC-2026-0278.html>
- patch: <https://github.com/z-galaxy/zbus_polkit/pull/101>
- other: <https://bugzilla.suse.com/show_bug.cgi?id=1277659>
- other: <https://crates.io/crates/zbus_polkit>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-78422>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/RUSTSEC-2026-0278> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-78422> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-78422>
