Canonical Ubuntu 16.04 LTS
Local Privilege Escalation in snapd
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.75.1
Fixed in 2.75.1
Fixed in 2.61.4ubuntu0.16.04.1+esm2
Fixed in 2.61.4ubuntu0.18.04.1+esm2
Fixed in 2.67.1+20.04ubuntu1~esm1
Fixed in 2.73+ubuntu22.04.1
Fixed in 2.73+ubuntu24.04.2
Mitigation
Upgrade the affected product to 2.75.1 or later.
Upgrade Ubuntu 16.04 LTS to 2.61.4ubuntu0.16.04.1+esm2 or later.
Upgrade Ubuntu 18.04 LTS to 2.61.4ubuntu0.18.04.1+esm2 or later.
Upgrade Ubuntu 20.04 LTS to 2.67.1+20.04ubuntu1~esm1 or later.
Upgrade Ubuntu 22.04 LTS to 2.73+ubuntu22.04.1 or later.
Upgrade Ubuntu 24.04 LTS to 2.73+ubuntu24.04.2 or later.
References
- Vendor advisory ubuntu.com/security/notices/USN-8102-1
- Vendor advisory discourse.ubuntu.com/t/snapd-local-privilege-escalation-…
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; not in CISA KEV. First PoC: fevar54/CVE-2026-3888-POC-all-from-the-Qualys-platform. (created 18 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.6 PoCs · 1 pending · 1 informational · 2 suspicious or fake
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| fevar54/CVE-2026-3888-POC-all-from-the-Qualys-platform. | 18 Mar 2026 +1.1 d | 2 | PoC |
| netw0rk7/CVE-2026-3888-PoC | 20 Mar 2026 +2.8 d | 3 | PoC |
| TheCyberGeek/CVE-2026-3888-snap-confine-systemd-tmpfiles-LPE | 23 Mar 2026 +5.5 d | 19 | PoC |
| noambouillet/CVE-2026-3888 | 23 Mar 2026 +6.2 d | 5 | PoC |
| AlanNewberry/CVE-2026-3888-snap-confine-privilege-escalation | 6 Oct 2026 +203 d | 1 | PoC |
| alinpfan/CVE-2026-3888-PoC | 12 Oct 2026 +209 d | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hewhomusntbenamed/CVE-2026-3888-fixed | 12 May 2026 +55 d | 0 | Pending · mkdir /quarantine/hewhomusntbenamed__CVE-2026-3888-fixed-82aa0996730a: permission denied |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| karimelsheikh1/HTB-Snapped-Writeup | 7 May 2026 +51 d | 1 | Informational · write-up
Flags · score 35
Below the suspicion threshold (50); does not change the assessment. |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Rebick/CVEs_exploit | 22 Jun 2025 −268 d | 0 | Fake |
| Many-Hat-Group/Ubuntu-CVE-2026-3888-patcher | 19 Mar 2026 +1.5 d | 0 | Suspicious · score 50
Why suspicious
|
Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Local Privilege Escalation in snapd (exploit/linux/local/cve_2026_3888) | unknown | 14 Nov 2026 |