TL;DR
Qualys found a snap-confine privilege escalation flaw, tracked as CVE-2026-8933. It lets any local user reach full root on default Ubuntu Desktop systems. Ubuntu shipped fixes on the July 21, 2026 coordinated release.
Why it matters
snap-confine sets up the sandbox for every snap app. It runs with deep system powers, so bugs here are serious. This snap-confine privilege escalation turns any local account into root. The flaw needs no special privileges to start. A normal login is enough. Desktop machines with shared or interactive users face the most risk. Qualys built a working exploit, but no in-the-wild abuse has been reported.
How the attack works
The root cause is a change in how Ubuntu ships snap-confine. Newer builds use file capabilities instead of the setuid-root bit. Ubuntu made this change for security, following least-privilege ideas. Ironically, it created a new path to root. As a result, snap-confine runs as the unprivileged user but keeps near-root powers. Files it creates then belong to that user, not root.
That gap opens a brief race window. An attacker can win the race to redirect a file that snap-confine writes. From there, they can plant a privileged rule that the system later runs as root. Qualys abused a writable system path to reach a root-run service. This report shares no exploit code.
Affected versions
Only set-capabilities builds of snap-confine are affected. Set-uid-root builds are not. In practice, default Ubuntu Desktop 26.04, 25.10, and 24.04 ship the vulnerable form. The advisory does not list a CVSS score. Still, full root from a normal user is a top-tier impact. A related 2026 snap-confine flaw, CVE-2026-3888, scored 7.8.
Patch and mitigation
First, update snapd through the standard Ubuntu channels now. Canonical coordinated the fix for the July 21 release date. You can read the technical write-up in the Qualys advisory. Also, check that snapd updated on every desktop, including 24.04 machines. Until you patch, limit local shell access to trusted users. With a working exploit in hand, this snap-confine privilege escalation deserves fast action.
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.