Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3888: CWE-268 Privilege chaining

0
High
VulnerabilityCVE-2026-3888cvecve-2026-3888cwe-268
Published: Tue Mar 17 2026 (03/17/2026, 14:02:08 UTC)
Source: CVE Database V5

Description

CVE-2026-3888 is a local privilege escalation vulnerability in snapd on Linux systems, specifically affecting multiple Ubuntu LTS versions from 16. 04 through 24. 04. The flaw arises when systemd-tmpfiles is configured to automatically clean snap's private /tmp directory, allowing a local attacker to re-create this directory and escalate privileges to root. The vulnerability has a high severity score of 7. 8, reflecting its potential to compromise confidentiality, integrity, and availability. Exploitation requires local access and elevated privileges but no user interaction. No known exploits are currently reported in the wild. Organizations running affected Ubuntu LTS versions with snapd and systemd-tmpfiles configured as described should prioritize patching or mitigating this issue to prevent privilege chaining attacks.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/25/2026, 01:12:51 UTC

Technical Analysis

CVE-2026-3888 is a local privilege escalation vulnerability categorized under CWE-268 (Improper Privilege Management) that affects the snapd service on Linux systems, particularly Ubuntu Long Term Support (LTS) releases 16.04, 18.04, 20.04, 22.04, and 24.04. The vulnerability exploits the interaction between snapd's private /tmp directory and systemd-tmpfiles' automatic cleanup configuration. When systemd-tmpfiles is set to clean snap's private /tmp directory, a local attacker with limited privileges can delete and then re-create this directory. By doing so, the attacker can manipulate the directory's permissions or contents to escalate their privileges to root. This privilege chaining attack leverages the improper handling of temporary directories and insufficient access control checks within snapd and systemd-tmpfiles. The CVSS v3.1 base score is 7.8, indicating high severity, with attack vector Local (AV:L), attack complexity High (AC:H), privileges required Low (PR:L), no user interaction (UI:N), scope changed (S:C), and high impact on confidentiality, integrity, and availability (C:H/I:H/A:H). Although no public exploits are currently known, the vulnerability poses a significant risk due to the widespread use of snapd in Ubuntu LTS distributions and the critical nature of root privilege escalation. The issue was publicly disclosed on March 17, 2026, and assigned by Canonical. No official patches or fixes are linked in the provided data, emphasizing the need for immediate attention by system administrators.

Potential Impact

The impact of CVE-2026-3888 is substantial for organizations using affected Ubuntu LTS versions with snapd and systemd-tmpfiles configured to clean snap's private /tmp directory. Successful exploitation allows a local attacker with limited privileges to escalate to root, potentially gaining full control over the system. This can lead to unauthorized access to sensitive data, modification or destruction of system files, installation of persistent malware, and disruption of services. The compromise of root privileges undermines system integrity and confidentiality, enabling attackers to bypass security controls and evade detection. For enterprises relying on Ubuntu LTS for critical infrastructure, this vulnerability could facilitate lateral movement within networks and compromise other connected systems. The requirement for local access limits remote exploitation but does not diminish the threat in environments where multiple users have access or where attackers have already gained footholds through other means. The absence of known exploits in the wild currently reduces immediate risk but does not preclude future exploitation, especially given the high severity and broad deployment of affected systems.

Mitigation Recommendations

To mitigate CVE-2026-3888, organizations should first verify if systemd-tmpfiles is configured to automatically clean snap's private /tmp directory and consider disabling or modifying this cleanup behavior to prevent directory re-creation by unprivileged users. Applying official patches from Canonical as soon as they become available is critical; monitoring Ubuntu security advisories for updates related to snapd is recommended. In the absence of patches, administrators can implement strict access controls on the /tmp directory and snap-related directories to prevent unauthorized deletion or recreation. Employing mandatory access control frameworks such as AppArmor or SELinux to restrict snapd and systemd-tmpfiles operations can reduce exploitation risk. Regular auditing and monitoring of /tmp directory changes and snapd service behavior can help detect suspicious activity early. Limiting local user privileges and enforcing the principle of least privilege reduces the pool of potential attackers. Additionally, educating users about the risks of local privilege escalation and maintaining robust endpoint security controls will help mitigate the threat.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-03-10T16:03:08.583Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69b96182771bdb1749b5a60b

Added to database: 3/17/2026, 2:13:22 PM

Last enriched: 3/25/2026, 1:12:51 AM

Last updated: 5/1/2026, 5:43:18 AM

Views: 232

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses