Cloudanix VulnDB

CVE-2026-8933

High · 7.8

CVSS

7.8

EPSS

0.2%

Published

Jul 21, 2026

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

On some Linux computers that use Snap apps, a regular logged-in user can take full control of the machine because a helper program does not lock down its permissions correctly.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Privilege Gain
Component
Application
Class
Privilege Escalation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

snap-confine, the privileged helper that builds the sandbox for Canonical snap applications, mishandles privilege-boundary and sandbox initialization when it is installed with file capabilities instead of the traditional set-uid-root bit. A local, unprivileged user can cause that initialization path to run with insufficient restrictions, yielding arbitrary code execution as root (full C/I/A on the host). The issue is local-only (AV:L), requires an existing low-privileged account (PR:L), and needs no user interaction.

Why it matters to the business

Any multi-user Linux host that runs snaps and uses a capabilities-based snap-confine install can be fully taken over by someone who already has a normal login, enabling data theft, persistent malware, and use of the machine as a beachhead. The flaw is not in CISA KEV, is not associated with ransomware, has no public exploit code (maturity None), and its EPSS score is low and declining (about 0.0022 to 0.0018 over 30 days). Treat as a high-severity local-root issue for shared or developer workstations rather than an internet-wide emergency; patch snap-using estates in the normal high-priority window, with extra urgency on multi-tenant systems.

How an attack unfolds

An attacker who already has an unprivileged shell on a vulnerable host identifies that snap-confine is present and configured with file capabilities rather than set-uid-root. They then exercise the snap launch path so that privilege and sandbox setup occur under limited ambient capabilities. Because those boundaries are not fully applied, the attacker’s payload runs outside the intended confinement and inherits root. No named threat actors or in-the-wild campaigns are associated with this CVE, and no public exploit is known; abuse therefore currently implies an already-present local foothold (stolen account, malicious insider, or a prior low-privilege compromise) rather than remote mass exploitation.

How to fix it

Apply Canonical/Ubuntu snapd security updates as soon as they are published for your release and restart or re-exec snapd so the updated snap-confine is in use. No specific fixed versions were supplied with this record, so follow the vendor security notice and distro package changelog for the exact snapd/snap-confine revision. Until a patch is installed, reduce local attack surface: limit untrusted interactive logins, disable or avoid snap on high-risk multi-user hosts if feasible, and inventory systems where snap-confine has file capabilities (getcap) rather than the set-uid-root layout. Do not attempt unofficial capability or permission tweaks on snap-confine except as directed by the vendor, because incorrect changes can break snaps or reintroduce privilege issues.

How to confirm the fix worked

Inventory hosts with snapd installed and record the snapd/snap-confine package version against the vendor fixed release. On each host, inspect /usr/lib/snapd/snap-confine (or the distro equivalent) with getcap and ls -l to see whether it is capabilities-based (the affected configuration) or set-uid-root. After upgrading, confirm the package version is in the fixed range, that snap-confine matches the patched build, and that ordinary snaps still launch. Re-check capabilities versus setuid so a capabilities-based layout was not silently restored by a partial upgrade.

Typical attack path

  1. Gain or reuse an unprivileged local account on a Linux host that runs snapd
  2. Determine that snap-confine is installed with file capabilities rather than set-uid-root
  3. Trigger snap application launch so snap-confine initializes the sandbox under the vulnerable capabilities path
  4. Bypass incomplete privilege-boundary or sandbox setup and run attacker-controlled code as root
  5. Use the new root context for persistence, credential theft, or further movement

How to detect it

There is no public exploit and no reported in-the-wild use, so expect few distinctive payloads; hunt for outcomes of local root rather than a known kit. Review auth and audit logs around snap run / snap-confine for unprivileged users causing snap-confine to spawn unexpected root shells or non-snap processes. On systems with auditd, look for execve of snap-confine followed closely by unexpected setuid/setreuid, capset, unshare, or mount activity from that process tree, and for new root-owned files or cron/systemd units created by accounts that should not be root. Check process ancestry (parent snap-confine or snapd) for bash/python/perl running as uid 0. Compare pre- and post-event package versions of snapd. Absence of these artifacts does not prove the host was never exploited; it only means no noisy follow-on activity was logged.

What your security team should do

  • Prioritize patching Linux fleets that run snapd, especially shared, CI, and developer hosts, even though this CVE is not in KEV and EPSS is low and falling
  • Inventory snap-confine install style (file capabilities vs set-uid-root) and package versions; treat capabilities-based installs as exposed until upgraded
  • Restrict untrusted local logins and sudoers on unpatched snap hosts to shrink the local-attacker population
  • Watch vendor snapd advisories for exact fixed versions and roll them through standard Linux patch pipelines
  • Add detection for unexpected root activity originating from snap-confine or snap run, and hunt historically for the ~70 days since publication
  • Do not wait for KEV listing; CVSS 7.8 local root on a widely deployed helper still warrants a defined SLA

The record

A local privilege escalation vulnerability exists in snap-confine, a set-capabilities core component used internally by Canonical snapd to construct the secure execution environment for snap applications. This vulnerability uniquely affects versions of snap-confine configured with set-capabilities (rather than standard set-uid-root installations). Due to a flaw in how privilege boundaries or security sandboxes are initialized when the binary runs under limited ambient capabilities, a local, unprivileged attacker can exploit this behavior to bypass intended restrictions and execute arbitrary code. Successful exploitation allows the local user to elevate their privileges to full root authority.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities