freenode

← CVE tracker

CVE-2026-15226

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

Severity
high CVSS 8.4 (v3.1)
Affects
Ubuntu 26.04 LTS · Canonical
Weakness
CWE-250 Execution with unnecessary privileges
Published
21 July 2026 by canonical
First seen on our lists
21 July 2026
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.

Our coverage

On the lists