Ptechhub
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs
No Result
View All Result
PtechHub
No Result
View All Result

Ubuntu snap-confine Flaw Could Give Local Users Root on Default Desktop Installs

The Hacker News by The Hacker News
July 22, 2026
Home Cybersecurity
Share on FacebookShare on Twitter


Ravie LakshmananJul 22, 2026Linux / Vulnerability

Cybersecurity researchers have disclosed details of a new local privilege escalation (LPE) vulnerability in snap-confine that an unprivileged user can trigger to obtain root access and gain complete control of a target environment.

The high-severity flaw, tracked as CVE-2026-8933 (CVSS score: 7.8), impacts default installations of Ubuntu Desktop 24.04, 25.10, and 26.04. The disclosure comes as 442 security flaws in Linux have been publicized over the past three days.

“The issue stems from a security hardening change that inadvertently introduced a race condition during sandbox initialization,” Saeed Abbasi, head of Threat Research Unit (TRU) and director of product at Qualys, said.

Snap-confine is a program used internally by snapd to construct the execution environment for snap applications. Snapd is the background service or daemon that manages snap packages on Linux systems. Snaps are nothing but a software packaging format devised by Canonical that allows an application to run securely in an isolated sandbox across most Linux distributions.

“Snapd runs a sub-process called snap-confine, which is responsible for creating the necessary confinement for the snap,” according to Canonical.

Although recent Ubuntu releases make use of the set-capabilities model to enforce the principle of least privilege (PoLP) as a way to minimize the attack surface, the changes allow snap-confine to be executed with the effective UID of the calling user, at the same time still retaining near-root capabilities.

“During sandbox setup, the binary creates temporary directories and files under /tmp that are initially owned by the unprivileged user,” Qualys explained. “Ownership is transferred to the root shortly after, but a narrow window remains during which the caller retains full control.”

The problem identified by the cybersecurity vendor is the result of two concurrent race conditions –

  • An attacker mounts a malicious FUSE file system over the temporary scratch directory immediately after creation, bypassing the mount namespace isolation applied by snap-confine and keeping the directory accessible outside the sandbox.
  • The attacker creates a symbolic link (aka symlink) pointing to an arbitrary target file, effectively redirecting file operations to sensitive system locations.

By manipulating file permissions before the system transfers ownership, the attacker can inject malicious rules into system directories and gain root code execution, Qualys noted.

“When snap-confine attempts to create a sandbox file, the open() call follows the symlink and writes to the target,” Abbasi said. “A second race condition allows the attacker to widen file permissions to 0666 before snap-confine calls fchown() to transfer ownership to root.”

“To bypass AppArmor confinement, the exploit targets the /run/udev/** path, which permits read-write access. By dropping a malicious .rules file in /run/udev/rules.d/ and triggering a FUSE mount/unmount cycle, the attacker forces systemd-udevd to execute arbitrary commands as root.”

To counter the risk posed by CVE-2026-8933, organizations must apply the latest snapd updates as soon as possible.

“An attacker still needs user-level access or code execution, but CVE-2026-8933 can turn that foothold into full control of the host,” Jason Soroko, Senior Fellow at Sectigo, said in a statement. “Its presence on default Ubuntu Desktop installations makes employee workstations, developer systems, and administrative endpoints part of the response scope.”

“Ubuntu 24.04 is notable because updated systems can carry the affected snap-confine variant, showing why administrators must verify the installed snapd version instead of relying on release age or prior patch status. With fixes available, rapid deployment and confirmation should take priority.”

This is not the first time security flaws have been uncovered in the snap-confine component. In February 2022, Qualys detailed another local privilege escalation flaw dubbed Oh Snap! More Lemmings (CVE-2021-44731) that could be abused to gain root privileges by exploiting a race condition in snap-confine’s setup_private_mount().

Since then, several other vulnerabilities have come to light, including CVE-2022-3328 (CVSS score: 7.8) and CVE-2026-3888 (CVSS score: 7.8).



Source link

The Hacker News

The Hacker News

Next Post
ROKFORM Launches Rugged Case for Samsung Galaxy Z Fold8 and Z Fold8 Ultra

ROKFORM Launches Rugged Case for Samsung Galaxy Z Fold8 and Z Fold8 Ultra

Recommended.

DataBank Expands Financing Vehicle to .6B to Support the Next Phase of Expansion

DataBank Expands Financing Vehicle to $1.6B to Support the Next Phase of Expansion

October 17, 2025
Arrow Electronics Names Interim CEO After Sean Kerins Departs

Arrow Electronics Names Interim CEO After Sean Kerins Departs

September 17, 2025

Trending.

Cloud Market Share Q1 2026: AWS, Microsoft, Google Battling In AI Era

Cloud Market Share Q1 2026: AWS, Microsoft, Google Battling In AI Era

May 4, 2026
AWS Vs. Google Cloud Vs. Microsoft Azure Q1 Earnings Face-Off

AWS Vs. Google Cloud Vs. Microsoft Azure Q1 Earnings Face-Off

May 1, 2026
Anaconda Extends AI-Native Application Development With Acquisition

Anaconda Extends AI-Native Application Development With Acquisition

May 1, 2026
30 Notable IT Executive Moves: April 2026

30 Notable IT Executive Moves: April 2026

May 11, 2026
This Scammer Used an AI-Generated MAGA Girl to Grift ‘Super Dumb’ Men

This Scammer Used an AI-Generated MAGA Girl to Grift ‘Super Dumb’ Men

April 21, 2026

PTechHub

A tech news platform delivering fresh perspectives, critical insights, and in-depth reporting — beyond the buzz. We cover innovation, policy, and digital culture with clarity, independence, and a sharp editorial edge.

Follow Us

Industries

  • AI & ML
  • Cybersecurity
  • Enterprise IT
  • Finance
  • Telco

Navigation

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Subscribe to Our Newsletter

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Copyright © 2025 | Powered By Porpholio

No Result
View All Result
  • News
  • Industries
    • Enterprise IT
    • AI & ML
    • Cybersecurity
    • Finance
    • Telco
  • Brand Hub
    • Lifesight
  • Blogs

Copyright © 2025 | Powered By Porpholio