CVE-2026-3888
7.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
0 < 2.75.1 | affected | ||
| Canonical | Ubuntu 16.04 LTS | 2.61.4ubuntu0.16.04.1+esm2 < * | unaffected |
| Canonical | Ubuntu 18.04 LTS | 2.61.4ubuntu0.18.04.1+esm2 < * | unaffected |
| Canonical | Ubuntu 20.04 LTS | 2.67.1+20.04ubuntu1~esm1 < * | unaffected |
| Canonical | Ubuntu 22.04 LTS | 2.73+ubuntu22.04.1 < * | unaffected |
| Canonical | Ubuntu 24.04 LTS | 2.73+ubuntu24.04.2 < * | unaffected |
Weaknesses
- CWE-268: CWE-268 Privilege chaining
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
CVE Program Container
Additional References
References
- https://ubuntu.com/security/CVE-2026-3888
- https://ubuntu.com/security/notices/USN-8102-1
- https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888
- https://blog.qualys.com/vulnerabilities-threat-research/2026/03/17/cve-2026-3888-important-snap-flaw-enables-local-privilege-escalation-to-root
- https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.