Vulnerability · Published Mar 17, 2026 · Assigned by canonical
CVE-2026-3888Local Privilege Escalation in snapd
High 7.8
In plain English
A high-severity security flaw in snapd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
Local privilege escalation in snapd on Linux allows local attackers to get root privilege by re-creating snap's private /tmp directory when systemd-tmpfiles is configured to automatically clean up this directory. This issue affects Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | snapd | 2.57.6-1+deb12u1 | DSA-6170-1 |
| Debian:12 | snapd | 2.57.6-1+deb12u1 | DEBIAN-CVE-2026-3888 |
| Debian:13 | snapd | 2.68.3-3+deb13u1 | DSA-6170-1 |
| Debian:13 | snapd | 2.68.3-3+deb13u1 | DEBIAN-CVE-2026-3888 |
| Debian:14 | snapd | 2.76-1 | DEBIAN-CVE-2026-3888 |
| Ubuntu:22.04:LTS | snapd | 2.73+ubuntu22.04.1 | UBUNTU-CVE-2026-3888 |
| Ubuntu:24.04:LTS | snapd | 2.73+ubuntu24.04.2 | USN-8102-2 |
| Ubuntu:24.04:LTS | snapd | 2.73+ubuntu24.04.2 | UBUNTU-CVE-2026-3888 |
| Ubuntu:25.10 | snapd | 2.73+ubuntu25.10.1 | UBUNTU-CVE-2026-3888 |
| Ubuntu:26.04:LTS | snapd | 2.74.1+ubuntu26.04.3 | UBUNTU-CVE-2026-3888 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| snapd | 0 – before 2.75.1 | |
| Canonical | Ubuntu 16.04 LTS | see references |
| Canonical | Ubuntu 18.04 LTS | see references |
| Canonical | Ubuntu 20.04 LTS | see references |
| Canonical | Ubuntu 22.04 LTS | see references |
| Canonical | Ubuntu 24.04 LTS | see references |
Weakness: CWE-268 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://ubuntu.com/security/CVE-2026-3888 vdb-entry, issue-tracking
- https://ubuntu.com/security/notices/USN-8102-1 vendor-advisory
- https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888 technical-description, vendor-advisory
- https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root technical-description, media-coverage
- https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt technical-description, media-coverage
- http://www.openwall.com/lists/oss-security/2026/03/18/1