CVE-2026-19816
High · 7.1CVSS
7.1
EPSS
0.1%
Published
Sep 14, 2026
CISA due date
—
Cloudanix analysis
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
- Obtain local unprivileged shell on target system using PackageKit with dnf5 backend
- Invoke PackageKit API or client to submit REPO_REMOVE transaction marked as SIMULATE
- Backend executes genuine package removal due to inverted guard logic
- 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
- CVE-2026-116667 Tanium addressed an improper access controls vulnerability in Discover. CWE-863
- CVE-2026-116661 Tanium addressed an improper access controls vulnerability in Enforce. CWE-863
- CVE-2026-116664 Tanium addressed an improper access controls vulnerability in Discover. CWE-863
- CVE-2026-121541 In Docker Buildx versions v0.19.0 through v0.38.0, an untrusted Bake definition that… CWE-863
- CVE-2026-120930 Incorrect authorization in Blink in Google Chrome prior to 156.0.8078.47 allowed a remote… CWE-863
- CVE-2026-95860 node-opcua is an OPC UA implementation for TypeScript and Node.js. CWE-863
- CVE-2026-121255 Incorrect authorization in Autofill AI in Google Chrome prior to 157.0.8103.38 allowed a… CWE-863
- CVE-2026-121248 Incorrect authorization in API in Google Chrome prior to 157.0.8103.38 allowed a remote… CWE-863