Intel

AIKIDO-2026-738756

zbus_polkit is vulnerable to Authorization Bypass

Authorization BypassCVE-2026-78422 Published 3 days ago

73

High Risk

This Affects:

RUSTzbus_polkit
1.0.0 - 5.0.0
Fixed in 5.1.0
Are you affected? Scan for Free

TL;DR

Subject::new_for_owner() encodes the unix-process polkit subject's UID as an unsigned 32-bit integer, while PolicyKit expects a signed 32-bit integer. Polkit therefore discards the caller-supplied UID and resolves ownership from the PID via /proc, which is subject to a TOCTOU race. An application that passes a trusted UID (for example from SO_PEERCRED) to defend against PID reuse gets no protection, so a local attacker who reclaims an authorized process's PID can be authorized under that identity. The fix encodes the UID with the signed type PolicyKit expects so the supplied owner is honored.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application builds polkit subjects with Subject::new_for_owner() using a caller-supplied UID to pin process identity.

Background info

zbus_polkit is vulnerable to Authorization Bypass in versions 1.0.0 - 5.0.0.

How to fix this

Upgrade the zbus_polkit library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform