Local Privilege Escalation in snapd
Summary
| CVE | CVE-2026-3888 |
|---|---|
| State | PUBLISHED |
| Assigner | canonical |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-17 14:16:17 UTC |
| Updated | 2026-06-04 14:43:01 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.000090000 probability, percentile 0.010810000 (date 2026-06-08)
Problem Types: CWE-268 | CWE-268 CWE-268 Privilege chaining
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 7.8 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 20.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 22.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 24.04 | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Canonical | Ubuntu 16.04 LTS | unaffected 2.61.4ubuntu0.16.04.1+esm2 * dpkg | Linux |
| CNA | Canonical | Ubuntu 18.04 LTS | unaffected 2.61.4ubuntu0.18.04.1+esm2 * dpkg | Linux |
| CNA | Canonical | Ubuntu 20.04 LTS | unaffected 2.67.1+20.04ubuntu1~esm1 * dpkg | Linux |
| CNA | Canonical | Ubuntu 22.04 LTS | unaffected 2.73+ubuntu22.04.1 * dpkg | Linux |
| CNA | Canonical | Ubuntu 24.04 LTS | unaffected 2.73+ubuntu24.04.2 * dpkg | Linux |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| ubuntu.com/security/notices/USN-8102-1 | [email protected] | ubuntu.com | Third Party Advisory |
| www.openwall.com/lists/oss-security/2026/03/18/1 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt | [email protected] | cdn2.qualys.com | Third Party Advisory |
| blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-impo... | [email protected] | blog.qualys.com | Mitigation, Third Party Advisory |
| discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888 | [email protected] | discourse.ubuntu.com | Mitigation, Third Party Advisory |
| ubuntu.com/security/CVE-2026-3888 | [email protected] | ubuntu.com | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Qualys Security Advisory Team (en)
There are currently no legacy QID mappings associated with this CVE.