Description
A sandbox confinement bypass vulnerability exists in Canonical snapd within its internal execution environment compiler (snap-confine). The default seccomp security templates generated by the engine to restrict system calls do not filter or reject process operations capable of creating or manipulating file execution flags with set-user-ID attributes. Consequently, an application running within a strictly confined snap environment can successfully compile or drop binaries and apply setuid properties to them. If a compromised or malicious process inside the snap sandbox executes these generated setuid binaries, it can potentially circumvent architectural sandboxing assumptions, drop intended restriction policies, or execute privileged actions inside the container namespace that should otherwise be strictly blocked. The vulnerability has been resolved by hardening the seccomp template engine to block the execution and creation of setuid executables by sandboxed snap processes.
Published: 2026-07-21
Score: 8.4 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because snapconfine generates seccomp templates that fail to filter or block system calls responsible for creating or manipulating file execution flags with set‑user‑ID attributes. This oversight allows an application running inside a strictly confined snap to compile or drop binaries and apply setuid properties to them. Once a malicious or compromised process inside the snap executes these setuid binaries, it can escape sandbox confinement, potentially performing privileged actions within the container namespace that the sandbox otherwise prohibits. The weakness is classified as CWE‑250, reflecting that setuid binaries may be created or used erroneously.

Affected Systems

The flaw affects Canonical’s snapd on Ubuntu releases 16.04 LTS, 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS and 26.04 LTS. All versions shipped with the vulnerable snap‑confine implementation are impacted; specific affected snapd versions are not listed in the data.

Risk and Exploitability

The CVSS base score of 8.4 signals a high‑severity privilege escalation risk. The EPSS score of less than 1 % indicates that, while the vulnerability exists, the historical exploitation probability is very low, and the flaw is not currently included in the CISA KEV catalog. Attackers would need to run or inject malicious code through a snap package; from that position the sandbox bypass permits creation and execution of setuid binaries, circumventing confinement. Given the lack of a remote trigger, successful exploitation typically requires local access to the system and the ability to install or modify snaps.

Generated by OpenCVE AI on July 30, 2026 at 17:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the newest snapd update that hardens the seccomp template engine to block creation and execution of setuid binaries.
  • Limit snap package installation to trusted sources and review snap permissions prior to deployment.
  • Audit or disable set‑uid bit modifications within the snap runtime by enforcing appropriate sandbox policies.

Generated by OpenCVE AI on July 30, 2026 at 17:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8579-1 snapd vulnerabilities
References
History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical ubuntu
Vendors & Products Canonical
Canonical ubuntu

Wed, 22 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Description A sandbox confinement bypass vulnerability exists in Canonical snapd within its internal execution environment compiler (snap-confine). The default seccomp security templates generated by the engine to restrict system calls do not filter or reject process operations capable of creating or manipulating file execution flags with set-user-ID attributes. Consequently, an application running within a strictly confined snap environment can successfully compile or drop binaries and apply setuid properties to them. If a compromised or malicious process inside the snap sandbox executes these generated setuid binaries, it can potentially circumvent architectural sandboxing assumptions, drop intended restriction policies, or execute privileged actions inside the container namespace that should otherwise be strictly blocked. The vulnerability has been resolved by hardening the seccomp template engine to block the execution and creation of setuid executables by sandboxed snap processes.
Title snapd snap-confine Sandbox Confinement Bypass via Omission of setuid Restriction in Seccomp Templates
Weaknesses CWE-250
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N'}


Subscriptions

Canonical Ubuntu
cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-07-22T18:28:11.440Z

Reserved: 2026-07-09T10:14:23.078Z

Link: CVE-2026-15226

cve-icon Vulnrichment

Updated: 2026-07-22T18:15:10.586Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-07-21T15:16:31.030

Modified: 2026-07-22T19:16:54.937

Link: CVE-2026-15226

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:30:17Z

Weaknesses
  • CWE-250

    Execution with Unnecessary Privileges