CVE-2026-3888

Local Privilege Escalation in snapd

Published Mar 17, 2026 CVSS 3.1 · 7.8 High EPSS 1.4% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in snapd on Linux allows a local attacker to obtain root privileges by exploiting the way the service recreates snap's private /tmp directory when systemd-tmpfiles reclaims system temporary files. This flaw, identified as CWE-268 (Missing Authorization Functionality), enables an unauthenticated local user to gain full administrative control over the affected system, compromising confidentiality, integrity, and availability at the host level.

Affected Systems

Affected versions include Ubuntu 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, and 24.04 LTS as provided by the vendor. No finer-grained version details are supplied in the CVE data, so all releases of snapd running under Canonical’s Ubuntu distributions are potentially impacted.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog. Because the attack requires local system access, a user who can execute code on the machine may trigger the re-creation of the private /tmp directory and elevate privileges. No mention of network-based exploitation or remote resources is made in the description, so the vector is inferred to be local only.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest snapd update from Canonical’s official repositories to apply any vendor‐supplied fix
  • Verify and, if necessary, modify systemd-tmpfiles rules so that the /tmp directory used by snapd is not automatically deleted or recreated
  • Monitor system logs for unusual activity indicating attempted privilege escalation or unauthorized subscription access

Generated by OpenCVE AI on March 17, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-6170-1 snapd security update
Ubuntu USN Ubuntu USN USN-8102-1 snapd vulnerability
Ubuntu USN Ubuntu USN USN-8102-2 snapd regression
History
Type Values Removed Values Added
First Time appeared Canonical ubuntu Linux
CPEs 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:*:*:*
Vendors & Products Canonical ubuntu Linux
Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Vendors & Products Canonical
Canonical ubuntu
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Local Privilege Escalation in snapd
Weaknesses CWE-268
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Mar 18, 2026, 8:59 AM
Reserved
Mar 10, 2026, 4:03 PM
Status
Analyzed
Published
Mar 17, 2026, 2:16 PM
Modified
Jun 17, 2026, 10:44 AM