HR EN DE
NEWS SPORT BIZNIS SCENA LIFESTYLE TECH

Vulnerability in Ubuntu snap-confine Opens Path to Root Access

CVE-2026-8933 affects default installations of Ubuntu Desktop 24.04, 25.10, and 26.04; a patch is already available.

Foto: Wikipedia (Ubuntu)
Summary
  • CVE-2026-8933 is a high-severity vulnerability (CVSS 7.8) in the Ubuntu snap-confine component that enables local privilege escalation to root.
  • The exploit combines two race condition vulnerabilities using FUSE and symbolic links to inject malicious udev rules and bypass AppArmor protection.
  • Default installations of Ubuntu Desktop 24.04, 25.10, and 26.04 are affected; a patch is available via snapd updates.
  • This is the third serious vulnerability in snap-confine since 2021, indicating structural security challenges in the component.

Cybersecurity researchers from Qualys discovered on July 22, 2026, a serious local privilege escalation vulnerability in the snap-confine component that allows an attacker with user-level access to gain full root control over the system. The vulnerability is recorded as CVE-2026-8933 and carries a CVSS score of 7.8, placing it in the high-severity category.

What is snap-confine and why is it important?

Snap-confine is an internal component of the snapd background service developed by Canonical, the company behind the Ubuntu distribution. Snapd manages snap packages, and snap-confine is responsible for creating an isolated environment, known as a sandbox, in which snap applications are executed. Snaps are a software packaging format that Canonical promotes as a secure and portable way to distribute applications on most Linux distributions. Because of this role, a vulnerability in snap-confine has an exceptionally wide reach, as it affects default installations of Ubuntu Desktop 24.04, 25.10, and 26.04.

How does the attack work?

Saeed Abbasi, head of the Threat Research Unit (TRU) and director of products at Qualys, explained that the issue stems from a security hardening change that inadvertently introduced a race condition during sandbox initialization. The exploit leverages two simultaneous race condition vulnerabilities. Qualys described the mechanism: during sandbox setup, snap-confine creates temporary directories and files in the /tmp directory that are initially owned by an unprivileged user, with ownership soon transferred to root-but in that brief window, the attacker retains full control.

In the first step, the attacker mounts a malicious FUSE filesystem (FUSE is a mechanism that allows users to mount filesystems without root privileges) over the temporary directory immediately after its creation, bypassing the mount isolation enforced by snap-confine. In the second step, the attacker creates a symbolic link that redirects file operations to sensitive locations on the system. Abbasi specified: when snap-confine tries to create the sandbox file, the open() call follows the symbolic link and writes to the target, and a second race condition allows the attacker to expand the file's permissions to 0666 before snap-confine calls fchown() to transfer ownership to root.

Bypassing AppArmor and executing commands as root

A particularly concerning aspect of this exploit is its ability to bypass AppArmor, a security module that is a standard part of Ubuntu's protection layer. According to Qualys's description, the exploit targets the /run/udev/** path, which allows both reading and writing, and by injecting a malicious .rules file into the /run/udev/rules.d/ directory and triggering FUSE mount/unmount cycles, the attacker forces the systemd-udevd service to execute arbitrary commands as root. In this way, a user with no special privileges can take full control of the system.

Who is affected and what should be done?

Jason Soroko, senior fellow at Sectigo, emphasized that CVE-2026-8933 can turn a user foothold into full control over a machine, and its presence on default installations of Ubuntu Desktop makes employee workstations, development systems, and administrative endpoints part of the response scope. Soroko specifically warned about Ubuntu 24.04: updated systems may carry the affected variant of snap-confine, demonstrating why administrators must check the installed version of snapd rather than relying on release age or previous patch status. A patch is available in the form of a snapd package update, and Soroko concluded that with fixes available, rapid deployment and verification should be a priority.

Not the first time, history of vulnerabilities in snap-confine

This is not the first time researchers have discovered serious flaws in snap-confine. In February 2022, Qualys detailed another local privilege escalation vulnerability called "Oh Snap! More Lemmings," recorded as CVE-2021-44731, which exploited a race condition in the setup_private_mount() function. Subsequently, vulnerability CVE-2022-3328 was also discovered with the same CVSS score of 7.8. This pattern of recurring flaws in the same component points to structural challenges in the security design of snap-confine, and Ubuntu users and administrators are advised to regularly check for and apply available security updates without delay.

FAQ
Which versions of Ubuntu are affected by CVE-2026-8933? +
The vulnerability affects default installations of Ubuntu Desktop 24.04, 25.10, and 26.04.
Does the attacker need physical access to the computer to exploit this vulnerability? +
No, but the attacker must have user-level access or the ability to execute code on the targeted system-the vulnerability then allows escalation to root.
How can I protect myself from this vulnerability? +
Apply the available snapd package updates as soon as possible and verify the installed snapd version, without relying solely on release age.
Is this the first time snap-confine has had such a vulnerability? +
No, Qualys already discovered a similar vulnerability (CVE-2021-44731) in February 2022, and then CVE-2022-3328, both with high CVSS scores.

Log in

You need to log in or register to comment.

Comments (0)
No comments yet. Be the first!
Search
Popular
Login
Home
Make 5MIN.hr a preferred source
Follow us on social media
Categories