Canonical Fixes snap-confine Privilege Escalation and Sandbox Bypass in snapd
Attack Tradecraft · 17 sources · Updated 3mo ago · First seen Jul 21, 2026

Canonical disclosed and patched three snapd vulnerabilities, led by CVE-2026-8933, a high-severity local privilege escalation flaw in snap-confine that can let a local user gain root on affected Ubuntu Desktop systems. Qualys reported that Ubuntu Desktop 26.04, 25.10, and fully updated 24.04 installations using the file-capabilities configuration for snap-confine are exposed because the process retains near-root capabilities while operating with the attacker’s effective UID, allowing attacker-owned files and directories to be created during a race window. The flaw can be exploited through symlink-based arbitrary file creation and permission changes, then by planting a malicious udev rule in an AppArmor-permitted path under /run/udev/, which can be triggered to execute attacker-controlled commands as root via systemd-udevd.
Canonical also addressed CVE-2026-15226, a snap-confine sandbox confinement bypass caused by missing setuid restrictions in seccomp templates, which could let code running inside a strictly confined snap create or manipulate setuid binaries and weaken confinement boundaries. A third issue, CVE-2024-5300, involved an AppArmor base profile misconfiguration that could expose hashed passwords through systemd-userdbd. Fixes are scheduled in snapd 2.76.1 and corresponding Ubuntu package updates for Xenial, Bionic, Focal, Jammy, Noble, and Resolute, with Canonical publishing advisory USN-8579-1; Qualys said it had a working exploit for CVE-2026-8933 but reported no evidence of active exploitation.


