7.8high
Local Privilege Escalation in snapd
- Severity
- 7.8high CVSS:3.1 by canonical
- Exploit likelihood
- 1.43% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- canonical
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
| Product or package | Versions | Reported by |
|---|---|---|
| snapd | before 2.75.1 Not affected: from 2.61.4ubuntu0.16.04.1+esm2 before *, from 2.61.4ubuntu0.18.04.1+esm2 before *, from 2.67.1+20.04ubuntu1~esm1 before *, from 2.73+ubuntu22.04.1 before *, from 2.73+ubuntu24.04.2 before * | CVE List |
| canonical ubuntu_linux | 16.04, 18.04, 20.04, 22.04, 24.04 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
La escalada de privilegios local en snapd en Linux permite a los atacantes locales obtener privilegios de root al recrear el directorio /tmp privado de snap cuando systemd-tmpfiles está configurado para limpiar automáticamente este directorio. Este problema afecta a Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS y 24.04 LTS.
References
| https://ubuntu.com/security/CVE-2026-3888 | issue-tracking, third-party-advisory, vdb-entry | |
| https://ubuntu.com/security/notices/USN-8102-1 | third-party-advisory, vendor-advisory | |
| https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888 | mitigation, technical-description, third-party-advisory, vendor-advisory | |
| https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root | media-coverage, mitigation, technical-description, third-party-advisory | |
| https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt | media-coverage, technical-description, third-party-advisory | |
| http://www.openwall.com/lists/oss-security/2026/03/18/1 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-3888 changed 2026-03-18 | CVE Terms of Use |
| NVD | CVE-2026-3888 changed 2026-06-17 | Public domain |