7.8High

CVE-2026-3888Local Privilege Escalation in snapd

snapd; Canonical Ubuntu 16.04 LTS; Canonical Ubuntu 18.04 LTS; Canonical Ubuntu 20.04 LTS Published: (8 months ago)

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.

Weakness (CWE): CWE-268

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Canonical Ubuntu 16.04 LTS all versions
Canonical Ubuntu 18.04 LTS all versions
Canonical Ubuntu 20.04 LTS all versions
Canonical Ubuntu 22.04 LTS all versions
Canonical Ubuntu 24.04 LTS all versions
canonical ubuntu linux 16.04
— snapd < 2.75.1

References and patches

CPE matches (NVD) (5)

  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
  • cpe:2.3:o:canonical:ubuntu_linux:24.04:*:*:*:lts:*:*:*