Skip to content
Access control Write-up Intermediate

A 12-Year-Old Flaw, an AI, and Root Access: What CVE-2026–41651 Says About Linux Security

PackageKit contained an authentication bypass that allowed a local user with limited privileges to install or remove system packages without authentication, leading to root access. The flaw existed for nearly 12 years before being found by a red team.

Root Follow

Published on systemweakness.com

PackageKit has been shipping with Linux distributions since 2014. It runs quietly in the background, handling software installs and updates, sitting between your package manager and whatever is requesting changes.

Root & Secure, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a missing authentication check in PackageKit's daemon allowed local users to perform privileged package management operations.

Impact

A local attacker could install or remove packages without authentication, potentially escalating to root; exploitation attempts cause the PackageKit daemon to crash, which may be restarted automatically by systemd.

What the attacker needed

Local access to the system; PackageKit installed and running

The fix

PackageKit should be updated to version 1.3.5 or later, or disabled if not needed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

PackageKit is a background service on Linux that handles installing and updating software. A flaw let any local user, even one without admin rights, install or remove software without proving they were allowed to. Because that service runs with high privileges, this could be used to take full control of the machine.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Root

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.