Fedora
PackageKit: dnf5 backend ignores SIMULATE on RepoRemove
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.3.4, < 1.4.0
Fixed in 1.4.0
- >= 1.3.4, < 1.4.0
Fixed in 1.4.0
Mitigation
Upgrade the affected product to 1.4.0 or later.
Upgrade Fedora to 1.4.0 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.