{"answers":{"affected":"1 open source package ship an affected version, including zbus_polkit.","exploited":"There is no known exploitation of CVE-2026-78422 in the wild and no public exploit code.","fix":"Upgrade zbus_polkit to 5.1.0 or later.","what":"CVE-2026-78422 is a high-severity vulnerability in z-galaxy zbus_polkit, published on 31 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-78422 and fix it if it is affected.\n\nWhat it is: CVE-2026-78422 is a high-severity vulnerability in z-galaxy zbus_polkit, published on 31 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-78422 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zbus_polkit (crates.io): affected from 0.0.0-0; fixed in 5.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-78422/ (Markdown: https://insights.sbomify.com/CVE-2026-78422/index.md)","id":"CVE-2026-78422","markdown":"https://insights.sbomify.com/CVE-2026-78422/index.md","name":"CVE-2026-78422","record":{"aliases":["DEBIAN-CVE-2026-78422","GHSA-j48v-cvqq-xcv6","RUSTSEC-2026-0278","UBUNTU-CVE-2026-78422"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Rust polkit library","requires_auth":"low_privilege","summary":"A local attacker can bypass polkit authorization checks via a PID reuse race condition, gaining unauthorized privileges.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"suse","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-686","name":"Function Call With Incorrect Argument Type"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"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.\n\nConsequently, 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.\n\nThis issue affects zbus_polkit before 5.1.0.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"zbus_polkit: polkit authorization bypass via PID reuse due to incorrect D-Bus type for the subject UID","id":"CVE-2026-78422","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":1,"n_references":2,"next":{"headline":"OS Command Injection in Packet-Capture (Sniffer) Filter leading to Remote Code Execution on Kubernetes Nodes","id":"CVE-2026-78424"},"packages":[{"ecosystem":"crates.io","fixed":["5.1.0"],"introduced":["0.0.0-0"],"last_affected":[],"package":"zbus_polkit","purl":"pkg:cargo/zbus_polkit","source":"RUSTSEC-2026-0278"}],"prev":{"headline":"Security feature bypass in Remote Desktop Manager","id":"CVE-2026-78417"},"products":["zbus_polkit"],"published":"2026-08-31","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["z-galaxy"]},"summary":"A local attacker can bypass polkit authorization checks via a PID reuse race condition, gaining unauthorized privileges.","url":"https://insights.sbomify.com/CVE-2026-78422/"}