Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-78422

Type: advisorySource: OSV1 source record

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.

Announced Source revision 1
Original source ↗

DEBIAN-CVE-2026-78422

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-78422

rust-zbus-polkit

Source reference: /affected/0/package/name

Affected versions
5.0.0-1

Source reference: /affected/0/versions

Fixed versions
5.1.0-1

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "5.1.0-1"
          }
        ]
      }
    ],
    "package": {
      "name": "rust-zbus-polkit",
      "purl": "pkg:deb/debian/rust-zbus-polkit?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "5.0.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-78422.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#58352 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement