Security News

Cybersecurity news aggregator

🐧
HIGH Vulnerabilities Reddit r/netsec

Ubtuntu 24.04+ Snapd Local Privilege Escalation (CVE-2026-3888)

This local privilege escalation vulnerability (CVE-2026-3888, CVSS 7.8 HIGH) in default Ubuntu Desktop installations allows an unprivileged user to gain root access by exploiting an unintended interaction between the `snap-confine` and `systemd-tmpfiles` components, though successful exploitation requires a specific time-based window of 10-30 days. The article states it affects Ubuntu Desktop version 24.04 and later, but remediation details and a specific fixed version are not provided.
Read Full Article →

Table of Contents What is the attack surface for CVE-2026-3888? Exploitation Mechanism: Affected Versions & Remediation Technical Details Secondary Finding: Vulnerability in Ubuntu 25.10 uutils Coreutils Qualys QID Coverage for Detecting theCVE-2026-3888: Discover Vulnerable Assets with Qualys CyberSecurity Asset Management Enhancing Your Security Posture with Qualys VMDR to Detect and Remediate the CVE-2026-3888 Vulnerability Automatically Patch CVE-2026-3888 with Qualys Patch Management The Qualys Threat Research Unit has identified a Local Privilege Escalation (LPE) vulnerability affecting default installations of Ubuntu Desktop version 24.04 and later. This flaw (CVE-2026-3888) allows an unprivileged local attacker to escalate privileges to full root access through the interaction of two standard system components: snap-confine and systemd-tmpfiles. While the exploit requires a specific time-based window (10–30 days), the resulting impact is a complete compromise of the host system. The vulnerability stems from an unintended interaction between two privileged utilities: snap-confine: Manages execution environments for snap applications (set-user-ID-root or set capabilities). systemd-tmpfiles: Automatically cleans up temporary files and directories older than a defined threshold. Additionally, during the review process for Ubuntu 25.10, a separate vulnerability in the uutils coreutils package was identified and mitigated prior to release through proactive collaboration with the Ubuntu Security Team; more details on that finding follow below. What is the attack surface for CVE-2026-3888? snapd is the background service that manages the entire Snap ecosystem on Ubuntu. It handles discovery, installation, updates, and removal of snap packages — self-contained application bundles that ship with their own dependencies rather than relying on shared system libraries. Canonical designed the format to solve dependency conflicts and give publishers a single packaging target across Ubuntu versions. snapd also enforces the permission model that governs what each snap can access on the host system, making it both a package manager and a security policy engine. Understanding snapd matters here because the two components below, snap-confine and systemd-tmpfiles, operate within or alongside this framework. snap-confine is the enforcement arm that actually builds the sandbox snapd defines, and systemd-tmpfiles handles the volatile filesystem plumbing that both snaps and system services depend on. snap-confine: snap-confine is the setuid root binary that builds the sandbox before a snap app runs. It handles mount namespace isolation, cgroup enforcement, AppArmor policy loading, and seccomp filtering—the full confinement stack that keeps snaps from leaving their boundaries. Because it runs with elevated privileges to set up kernel-level isolation for regular users, it sits at a critical trust boundary. A bug like CVE-2026-3888 in this component could lead to privilege escalation, which makes consistent snapd patching a practical priority. systemd-tmpfiles: systemd-tmpfiles manages the lifecycle of volatile directories like /tmp, /run, and /var/tmp — creating them with the right ownership at boot and cleaning out stale files on a timer. Configuration lives in drop-in files under /etc/tmpfiles.d/, /run/tmpfiles.d/, and /usr/lib/tmpfiles.d/. Poorly configured tmpfiles rules can create local escalation paths and open the door to symlink races and local escalation. Exploitation Mechanism: CVE-2026-3888 is rated High severity with a CVSS v3.1 score of 7.8 out of 10. The vector string (AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H) indicates a local attack vector with high complexity, requiring low privileges and no user interaction. The scope is changed, meaning a successful exploit can impact resources beyond the vulnerable component, with high impact across confidentiality, integrity, and availability. While the CVSS score reflects a High severity, the Attack Complexity is High due to an inherent time-delay mechanism in the exploit chain. In default configurations, systemd-tmpfiles is scheduled to remove stale data in /tmp. An attacker can exploit this by manipulating the timing of these cleanup cycles. Specifically, the attack vector involves: The attacker must wait for the system’s cleanup daemon (30 days in Ubuntu 24.04; 10 days in later versions) to delete a critical directory (/tmp/.snap) required by snap-confine. Once deleted, the attacker recreates the directory with malicious payloads. During the next sandbox initialization, snap-confine bind-mounts these files as root, allowing the execution of arbitrary code within the privileged context. Affected Versions & Remediation The following snapd package versions are vulnerable. Organizations should upgrade immediately to the listed patched releases: Ubuntu 24.04 LTS: snapd versions prior to 2.73+ubuntu24.04.2 Ubuntu 25.10 LTS: snapd versions prior to 2.73+ubuntu25.10.1 Ubuntu 26.04 ...

Share this article