CVE-2026-3888
JSON

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 packageVersionsReported by
snapdbefore 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_linux16.04, 18.04, 20.04, 22.04, 24.04NVD

Classification

CWE-268

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-3888issue-tracking, third-party-advisory, vdb-entry
https://ubuntu.com/security/notices/USN-8102-1third-party-advisory, vendor-advisory
https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888mitigation, 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-rootmedia-coverage, mitigation, technical-description, third-party-advisory
https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txtmedia-coverage, technical-description, third-party-advisory
http://www.openwall.com/lists/oss-security/2026/03/18/1mailing-list, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-3888 changed 2026-03-18CVE Terms of Use
NVDCVE-2026-3888 changed 2026-06-17Public domain