CVE-2026-15226

snapd snap-confine Sandbox Confinement Bypass via Omission of setuid Restriction in Seccomp Templates

State
Published
Severity
8.4 High
Published
Jul 21, 2026
Updated
Jul 22, 2026
Reserved
Jul 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.4 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Ncanonical

Weaknesses

  • CWE-250 Execution with unnecessary privileges

Affected Products

ProductVersions
snapd
  • before 2.76.1Affected
Ubuntu 26.04 LTSCanonical
  • 2.76+ubuntu26.04.3Not affected
Ubuntu 24.04 LTSCanonical
  • 2.76+ubuntu24.04.1Not affected
Ubuntu 22.04 LTSCanonical
  • 2.76+ubuntu22.04.1Not affected
Ubuntu 20.04 LTSCanonical
  • 2.67.1+20.04ubuntu1~esm2Not affected
Ubuntu 18.04 LTSCanonical
  • 2.61.4ubuntu0.18.04.1+esm3Not affected
Ubuntu 16.04 LTSCanonical
  • 2.61.4ubuntu0.16.04.1+esm3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.