Description
lxc-attach in LXC before 1.0.9 and 2.x before 2.0.6 allows an attacker inside of an unprivileged container to use an inherited file descriptor, of the host's /proc, to access the rest of the host's filesystem via the openat() family of syscalls.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | LXC before 1.0.9 and 2.x before 2.0.6 | LXC before 1.0.9 and 2.x before 2.0.6 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | lxc | 1:2.0.6-1 | — |
| Debian 13 | lxc | 1:2.0.6-1 | — |
| Debian 12 | lxc | 1:2.0.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | lxc | 2.0.5-0ubuntu1~ubuntu16.04.3 | USN-3136-1 |
| Ubuntu 14.04 LTS | lxc | 1.0.8-0ubuntu0.4 | USN-3136-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | lxc | 2.0.4-2.1 | openSUSE-SU-2024:10416-1 |
Advisories 2
- USN-3136-1 lxc vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2024:10416-1 liblxc-devel-2.0.4-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1398242
- https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1639345
- https://github.com/lxc/lxc/commit/81f466d05f2a89cb4f122ef7f593ff3f279b165c
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845465
- https://security-tracker.debian.org/tracker/CVE-2016-8649
- 94498 vdb-entry