Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2026-3888 EUVD-2026-12570

Local Privilege Escalation in snapd

Published Mar 17, 2026 · Updated Mar 18, 2026 · 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 products

VendorProductAffectedFixed
— snapd < 2.75.1 2.75.1
Canonical Ubuntu 16.04 LTS — —
Canonical Ubuntu 18.04 LTS — —
Canonical Ubuntu 20.04 LTS — —
Canonical Ubuntu 22.04 LTS — —
Canonical Ubuntu 24.04 LTS — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snapd 2.76-1 —
Debian 13 snapd 2.68.3-3+deb13u1 DSA-6170-1
Debian 12 snapd 2.57.6-1+deb12u1 DSA-6170-1
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS snapd 2.74.1+ubuntu26.04.3 —
Ubuntu 25.10 snapd 2.73+ubuntu25.10.1 —
Ubuntu 24.04 LTS snapd 2.73+ubuntu24.04.2 USN-8102-2
Ubuntu 22.04 LTS snapd 2.73+ubuntu22.04.1 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS snapd 2.67.1+20.04ubuntu1~esm1 —
Ubuntu Pro 18.04 LTS snapd 2.61.4ubuntu0.18.04.1+esm2 —
Ubuntu Pro 16.04 LTS snapd 2.61.4ubuntu0.16.04.1+esm2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 8 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References