Cloudanix VulnDB

CVE-2026-19816

High · 7.1

CVSS

7.1

EPSS

0.1%

Published

Sep 14, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A regular user on the computer can remove installed software without permission by pretending they only want to test the action.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
Application
Class
Authorization Bypass
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Authorization bypass in PackageKit dnf5 backend allows REPO_REMOVE transactions with the SIMULATE flag to execute real package removal because the guard condition (role == REPO_REMOVE || !SIMULATE) is always true.

Why it matters to the business

Unprivileged local users can silently uninstall packages, leading to system instability, removal of security tools, or disruption of critical services without requiring elevated privileges.

How an attack unfolds

An attacker with local unprivileged access crafts a PackageKit transaction requesting REPO_REMOVE while setting the SIMULATE flag; the flawed logic in the dnf5 RepoRemove handler skips the polkit check and performs the actual uninstall.

How to fix it

Apply vendor patches to PackageKit that correct the authorization guard logic in the dnf5 backend; until fixed, restrict local access to PackageKit or switch to an unaffected backend.

How to confirm the fix worked

Review dnf5 backend source for the RepoRemove handler condition, then test by submitting a SIMULATE-flagged REPO_REMOVE transaction and confirming it no longer performs real changes.

Typical attack path

  1. Obtain local unprivileged shell on target system using PackageKit with dnf5 backend
  2. Invoke PackageKit API or client to submit REPO_REMOVE transaction marked as SIMULATE
  3. Backend executes genuine package removal due to inverted guard logic
  4. Observe results via package manager state changes without authorization prompts

How to detect it

Inspect PackageKit transaction logs and dnf history for REPO_REMOVE operations that occurred despite the SIMULATE flag; correlate with absence of polkit authorization entries.

  • packagekitd.*REPO_REMOVE.*SIMULATE
  • dnf history list showing removals without prior polkit prompts
  • /var/log/dnf.log entries for remove actions initiated via PackageKit simulate path

What your security team should do

  • Prioritize patching PackageKit once updates are released due to local privilege escalation risk
  • Audit systems for dnf5 backend usage and limit PackageKit exposure to untrusted users
  • Monitor package removal events in system logs for anomalies

The record

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 packages

Ecosystem Package Introduced Fixed

Related vulnerabilities