Canonical Ubuntu 26.04 LTS
snapd snap-confine Sandbox Confinement Bypass via Omission of setuid Restriction in Seccomp Templates
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.76.1
Fixed in 2.76.1
Fixed in 2.76+ubuntu26.04.3
Fixed in 2.76+ubuntu24.04.1
Fixed in 2.76+ubuntu22.04.1
Fixed in 2.67.1+20.04ubuntu1~esm2
Fixed in 2.61.4ubuntu0.18.04.1+esm3
Fixed in 2.61.4ubuntu0.16.04.1+esm3
Mitigation
Upgrade the affected product to 2.76.1 or later.
Upgrade Ubuntu 26.04 LTS to 2.76+ubuntu26.04.3 or later.
Upgrade Ubuntu 24.04 LTS to 2.76+ubuntu24.04.1 or later.
Upgrade Ubuntu 22.04 LTS to 2.76+ubuntu22.04.1 or later.
Upgrade Ubuntu 20.04 LTS to 2.67.1+20.04ubuntu1~esm2 or later.
Upgrade Ubuntu 18.04 LTS to 2.61.4ubuntu0.18.04.1+esm3 or later.
Upgrade Ubuntu 16.04 LTS to 2.61.4ubuntu0.16.04.1+esm3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.