Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-2594

NIXPKGS-2026-2594
published 8 hours ago
PackageKit: dnf5 backend ignores SIMULATE on RepoRemove
Permalink CVE-2026-19816
7.1 HIGH
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Local (L)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): Low (L)
  • User Interaction (UI): None (N)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): None (N)
  • Integrity (I): High (H)
  • Availability (A): High (H)
  • Modified Attack Vector (MAV): Local (L)
  • Modified Attack Complexity (MAC): Low (L)
  • Modified Privileges Required (MPR): Low (L)
  • Modified User Interaction (MUI): None (N)
  • Modified Confidentiality (MC): None (N)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): High (H)
updated 8 hours ago by @erictapen Activity log
  • Created suggestion
  • @LeSuisse ignored
    19 packages
    • gnome-packagekit
    • fedora-backgrounds.f32
    • fedora-backgrounds.f33
    • fedora-backgrounds.f34
    • fedora-backgrounds.f35
    • fedora-backgrounds.f36
    • fedora-backgrounds.f37
    • fedora-backgrounds.f38
    • kdePackages.packagekit-qt
    • qt6Packages.packagekit-qt
    • haskellPackages.fedora-krb
    • haskellPackages.fedora-dists
    • haskellPackages.fedora-releases
    • python313Packages.python-fedora
    • python314Packages.python-fedora
    • python313Packages.fedora-messaging
    • python314Packages.fedora-messaging
    • haskellPackages.fedora-haskell-tools
    • gnomeExtensions.fedora-linux-update-indicator
  • @erictapen accepted
  • @erictapen published on GitHub
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 products

PackageKit
  • <1.4.0
compat-PackageKit08

Matching in nixpkgs

pkgs.packagekit

System to facilitate installing and updating packages

Ignored packages (19)

pkgs.gnome-packagekit

Tools for installing software on the GNOME desktop using PackageKit

  • nixos-unstable 43.0
    • nixpkgs-unstable 43.0
    • nixos-unstable-small 43.0
  • nixos-26.05 43.0
    • nixos-26.05-small 43.0
    • nixpkgs-26.05-darwin 43.0