CVE-2026-3888 in Canonical Ubuntu Linux
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.
Affects 1 product from 3 vendors. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 16.04 18.04 20.04 22.04 24.04 |
| Linux | — | — |
| Ubuntu | — | — |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-3888 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-271275-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Published | 2026-03-17 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-268: CWE-268
Analysis AI-written, not human-reviewed
A high severity vulnerability affects Linux systems (CVE-2026-3888). A proof-of-concept has been published. Apply available vendor patches promptly.
Vulnerability details: 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. CVSS vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
Questions
What is CVE-2026-3888?
A high severity vulnerability affects Linux systems (CVE-2026-3888). A proof-of-concept has been published. Apply available vendor patches promptly.
What is the CVSS score for CVE-2026-3888?
CVE-2026-3888 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H. EPSS: 0.5%.
Is CVE-2026-3888 actively exploited?
No confirmed active exploitation of CVE-2026-3888 as of 2026-09-25.
How do I remediate CVE-2026-3888?
Priority: MEDIUM. Advisory: https://discourse.ubuntu.com/t/snapd-local-privilege-escalation-cve-2026-3888
What systems are affected by CVE-2026-3888?
CVE-2026-3888 affects Canonical Ubuntu Linux; Linux; Ubuntu.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.