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.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
snapd
Vendor
Unknown
Product
Unknown
Platforms
Unknown
Default status
unaffected
Package
snapd
Package collection
https://github.com/canonical
snapd · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
0
affected
semver
2.76.1
Unavailable
None listed
Ubuntu 26.04 LTS
Vendor
Canonical
Product
Ubuntu 26.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/resolute
Ubuntu 26.04 LTS · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
2.76+ubuntu26.04.3
unaffected
dpkg
Unavailable
Unavailable
None listed
Ubuntu 24.04 LTS
Vendor
Canonical
Product
Ubuntu 24.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/noble
Ubuntu 24.04 LTS · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
2.76+ubuntu24.04.1
unaffected
dpkg
Unavailable
Unavailable
None listed
Ubuntu 22.04 LTS
Vendor
Canonical
Product
Ubuntu 22.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/jammy
Ubuntu 22.04 LTS · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
2.76+ubuntu22.04.1
unaffected
dpkg
Unavailable
Unavailable
None listed
Ubuntu 20.04 LTS
Vendor
Canonical
Product
Ubuntu 20.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/focal
Ubuntu 20.04 LTS · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
2.67.1+20.04ubuntu1~esm2
unaffected
dpkg
Unavailable
Unavailable
None listed
Ubuntu 18.04 LTS
Vendor
Canonical
Product
Ubuntu 18.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/bionic
Ubuntu 18.04 LTS · Scoped product and version facts
Version (version)
Status (status)
Version scheme (versionType)
Exclusive end (lessThan)
Inclusive end (lessThanOrEqual)
Status changes (at → status)
2.61.4ubuntu0.18.04.1+esm3
unaffected
dpkg
Unavailable
Unavailable
None listed
Ubuntu 16.04 LTS
Vendor
Canonical
Product
Ubuntu 16.04 LTS
Platforms
Linux
Default status
affected
Package
snapd
Package collection
https://launchpad.net/ubuntu/xenial
Ubuntu 16.04 LTS · Scoped product and version facts