Skip to content
OpenAdvisories
High · 8.4 CVE-2026-15226 EUVD-2026-46261GHSA-9pj8-7m3m-mh5h

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

Published Jul 21, 2026 · Updated Jul 22, 2026 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
— snapd < 2.76.1 2.76.1
Canonical Ubuntu 26.04 LTS — 2.76+ubuntu26.04.3
Canonical Ubuntu 24.04 LTS — 2.76+ubuntu24.04.1
Canonical Ubuntu 22.04 LTS — 2.76+ubuntu22.04.1
Canonical Ubuntu 20.04 LTS — 2.67.1+20.04ubuntu1~esm2
Canonical Ubuntu 18.04 LTS — 2.61.4ubuntu0.18.04.1+esm3
Canonical Ubuntu 16.04 LTS — 2.61.4ubuntu0.16.04.1+esm3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snapd 2.76.3-1 —
Debian 13 snapd No fix yet —
Debian 12 snapd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS snapd 2.76+ubuntu26.04.3 USN-8579-1
Ubuntu 24.04 LTS snapd 2.76+ubuntu24.04.1 USN-8579-1
Ubuntu 22.04 LTS snapd 2.76+ubuntu22.04.1 USN-8579-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS snapd 2.67.1+20.04ubuntu1~esm3 USN-8579-1
Ubuntu Pro 18.04 LTS snapd 2.61.4ubuntu0.18.04.1+esm4 USN-8579-1
Ubuntu Pro 16.04 LTS snapd 2.61.4ubuntu0.16.04.1+esm4 USN-8579-1

Advisories 2

References