HeadlinesBriefing favicon HeadlinesBriefing.com

CVE-2026-3888 Ubuntu Snapd Privilege Escalation Vulnerability Explained

Hacker News •
×

CVE-2026-3888 exposes a critical local privilege escalation flaw in Ubuntu Desktop 24.04 and later versions, allowing attackers to gain root access after a 10-30 day wait. This exploit hinges on an interaction between two core system utilities: snap-confine, which enforces snap sandboxing, and systemd-tmpfiles, responsible for cleaning volatile directories like /tmp. The attack leverages systemd-tmpfiles' periodic cleanup of /tmp/.snap, a directory vital for snap-confine's operation.

Once deleted, attackers can recreate it with malicious payloads, allowing arbitrary code execution within the privileged snap-confine context upon the next sandbox initialization. The Qualys Threat Research Unit identified this High-severity (CVSS 7.8) vulnerability during routine security reviews, noting it requires specific timing and low privileges. Organizations using affected Ubuntu versions must upgrade snapd immediately to patched releases (Ubuntu 24.04: >=2.73+ubuntu24.04.2; Ubuntu 25.10: >=2.73+ubuntu25.10.1; Ubuntu 26.04: >=2.74.1+ubuntu26.04.1).

Legacy systems (16.04-22.04) should also apply the patch proactively. This flaw underscores the critical trust boundary inherent in snapd's design and the potential for subtle interactions between system components to create severe security risks.