Skip to main content

snapd CVE-2026-15226

| EUVDEUVD-2026-46261 HIGH
Execution with Unnecessary Privileges (CWE-250)
2026-07-21 canonical GHSA-9pj8-7m3m-mh5h
8.4
CVSS 3.1 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain code execution inside confined snap
  2. Delivery
    Write attacker binary to snap-writable path
  3. Exploit
    Set setuid bit via unfiltered syscall
  4. Execution
    Execute setuid binary
  5. Impact
    Escape confinement / run privileged actions in namespace

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Unnecessary privilege execution
Exploitation Conditions

Exploitation requires the attacker to already have arbitrary code execution as the confined process inside a strictly confined snap sandbox (PR:L, AV:L) - this is a local, post-compromise escalation, not a remote entry point. The specific enabling condition is that the default snapd-generated seccomp template does not filter syscalls that set the set-user-ID (setuid) attribute, so the attacker must be able to write a binary to a snap-writable path and invoke chmod/fchmod-style syscalls to mark it setuid, then execute it. Limiting factors: exploitation is confined to systems running a vulnerable snapd where the target application is packaged as a strict-confinement snap; it does not apply to classic-confinement snaps or non-snap workloads, requires no user interaction, and yields no availability impact (A:N).

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N) describes a local attacker who already controls a low-privileged process inside a confined snap, with low complexity, no user interaction, and a scope change reflecting escape from the sandbox boundary into the host namespace. The 8.4 score is driven mainly by that scope change plus High confidentiality and integrity impact; availability is unaffected (A:N). Real-world risk is meaningfully gated by the prerequisite that an attacker must first achieve code execution inside a confined snap, so this is an escalation/escape primitive rather than an initial-access bug - dangerous in a defense-in-depth chain but not remotely triggerable on its own. No EPSS score, KEV entry, POC, or SSVC decision data was provided in the input, so exploitation likelihood cannot be quantified from these signals; the absence of KEV/POC data suggests no confirmed in-the-wild use at this time, but that is inferred from missing data rather than a positive vendor statement.

Exploit ScenarioDerived

An attacker who has compromised an application running inside a strictly confined snap (for example via a bug in the snap's own code) writes a small binary into a writable path, uses the un-filtered syscall to set its setuid bit, and executes it. Because the seccomp template did not block that operation, the setuid binary runs with elevated ownership and lets the attacker drop confinement restrictions or perform privileged actions inside the namespace. No public POC was provided in the input.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Sandbox confinement bypass in Canonical snapd (snap-confine) affects all supported Ubuntu LTS releases (16.04 through 26.04) because the default seccomp templates fail to block system calls that create or set set-user-ID flags on files. A process already running inside a strictly confined snap can compile or drop a binary, mark it setuid, and then execute it to escape confinement assumptions and perform privileged actions within the container namespace. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV, but the CVSS 8.4 (scope-changed) rating reflects a genuine confinement-escape primitive.

RemediationAI

Patch available per vendor advisory: Canonical has resolved the issue by hardening the seccomp template engine to block creation and execution of setuid executables by sandboxed snap processes - apply the updated snapd package for your release via the standard channel (e.g. 'sudo snap refresh snapd' and 'sudo apt update && sudo apt install --only-upgrade snapd'), then confirm the fixed version against https://ubuntu.com/security/CVE-2026-15226 as exact fixed version numbers were not included in the input. Because exploitation requires a malicious process already inside a confined snap, interim compensating controls include auditing and restricting which untrusted snaps are installed, removing or tightening snaps from unverified publishers, and monitoring for confined processes creating setuid binaries; note these controls reduce but do not eliminate the flaw and may disrupt legitimate snaps that manage their own binaries. No independently confirmed fixed version number is available from the provided data, so verify before asserting compliance.

Affected VersionsENISA

Ubuntu 16.04 LTS patch: 2.61.4ubuntu0.16.04.1+esm3
Ubuntu 22.04 LTS patch: 2.76+ubuntu22.04.1
Ubuntu 26.04 LTS patch: 2.76+ubuntu26.04.3
Ubuntu 18.04 LTS patch: 2.61.4ubuntu0.18.04.1+esm3
Ubuntu 24.04 LTS patch: 2.76+ubuntu24.04.1
Ubuntu 20.04 LTS patch: 2.67.1+20.04ubuntu1~esm2

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

snapd confines applications using a layered sandbox in which snap-confine sets up a mount namespace, AppArmor profiles, and a seccomp-bpf system-call filter generated from default templates. The vulnerability is a CWE-250 (Execution with Unnecessary Privileges) weakness: the generated seccomp template does not deny the syscalls used to set the S_ISUID mode bit (e.g. chmod/fchmod/fchmodat with setuid flags) on files a confined snap can write. Because setuid binaries carry their owner's privileges on execution, allowing a confined process to author and mark such a binary undermines the seccomp/namespace model that is supposed to strip elevated behavior. The CPE data scopes impact to the Canonical Ubuntu LTS platform packages (Ubuntu 16.04, 18.04, 20.04, 22.04, 24.04, and 26.04 LTS), all of which ship snapd by default.

Know when Ubuntu 20 04 Lts gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 8.4 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
vuln.today AI 8.4 HIGH

Attacker needs local code execution inside a confined snap (AV:L/PR:L), the bypass is straightforward (AC:L), and escaping confinement crosses a trust boundary (S:C) with high confidentiality/integrity impact and no availability effect.

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A sandbox escape vulnerability in Canonical snapd affects all Ubuntu LTS releases (16.04-26.04), allowing compromised snap applications to bypass confinement and execute arbitrary code with elevated privileges. Organizations running snaps as a containerization or isolation boundary for untrusted or third-party applications face a direct threat to application security isolation. This vulnerability is particularly critical for enterprises relying on snaps to enforce least-privilege or multi-tenant deployment architectures.

Business Impact: Severe
Compensating Controls

Disable snap deployments where operationally feasible. For required snaps, enforce additional AppArmor confinement policies beyond default strict profiles and restrict snap installation to an allowlist of cryptographically verified, vendor-signed packages only. Implement host-level system call tracing and audit logging to detect setuid creation or privilege escalation attempts within snap processes. Establish automated alerts on file permission changes and execution of binaries with elevated privileges within snap namespaces.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
snapd ships by default on all widely-deployed Ubuntu LTS releases
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Very High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy