CVE-2026-3888

NameCVE-2026-3888
DescriptionLocal 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6170-1
Debian Bugs1131120

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
snapd (PTS)bullseye (security), bullseye2.49-1+deb11u2vulnerable
bookworm2.57.6-1vulnerable
bookworm (security)2.57.6-1+deb12u1fixed
trixie2.68.3-3vulnerable
trixie (security)2.68.3-3+deb13u1fixed
forky, sid2.74.1-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
snapdsourcebookworm2.57.6-1+deb12u1DSA-6170-1
snapdsourcetrixie2.68.3-3+deb13u1DSA-6170-1
snapdsource(unstable)(unfixed)1131120

Notes

https://www.openwall.com/lists/oss-security/2026/03/17/8
https://cdn2.qualys.com/advisory/2026/03/17/snap-confine-systemd-tmpfiles.txt
Fixed by: https://github.com/canonical/snapd/commit/5400bfdf1e4c3f861826a215417234420470cb25

Search for package or bug name: Reporting problems