CVE-2026-19816

PackageKit: dnf5 backend ignores SIMULATE on RepoRemove

State
Published
Severity
7.1 High
Published
Sep 14, 2026
Updated
Sep 15, 2026
Reserved
Aug 14, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:Hfedora

Weaknesses

Affected Products

ProductVersions
PackageKit
  • 1.3.4 to before 1.4.0Affected
FedoraFedora
  • 1.3.4 to before 1.4.0Affected
Red Hat Enterprise Linux 9Red Hat
    Red Hat Enterprise Linux 10Red Hat
      Red Hat Enterprise Linux 6Red Hat
        Red Hat Enterprise Linux 7Red Hat
          Red Hat Enterprise Linux 7Red Hat
            Red Hat Enterprise Linux 8Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.