CVE Catalog

CVE-2026-19816

HighCVSS 7.1
Published: Translated: NVD NIST

Summary

PackageKit skips the polkit authorization check for transactions carrying the SIMULATE (dry-run) flag. In the dnf5 backend, the RepoRemove handler ignores that contract and always executes the real transaction because its guard (role == REPO_REMOVE || !SIMULATE) is always true for RepoRemove. An unprivileged local user can therefore perform a genuine package uninstall while claiming to simulate.

Risk Assessment

An unprivileged local user can remove system packages, causing system instability or denial of service. Only systems using PackageKit with the dnf5 backend are affected.

Recommendation

Upgrade PackageKit to a version containing the fix or temporarily restrict access to RepoRemove operations. Verify whether the system uses the dnf5 backend.

Other vulnerabilities in PackageKit

See all
Original NVD description (English source)

A flaw was found in PackageKit. PackageKit skips the polkit authorization check for transactions carrying the SIMULATE (dry-run) flag. In the dnf5 backend, the RepoRemove handler ignores that contract and always executes the real transaction because its guard is written as (role == REPO_REMOVE || !SIMULATE), which is always true for RepoRemove. An unprivileged local user can therefore perform a genuine package uninstall while claiming to simulate. This vulnerability only affects systems using PackageKit with the dnf5 backend.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS