Servers and applications
CVE-2026-127156
Archive-supplied device node gives an unprivileged container raw access to host block devices
- Severity
- Medium 6.5
- Published
- 1 Dec 2026
- Last changed
- 1 Dec 2026
- Added to UpHeron
- 1 Dec 2026
- Fixed in
- 4.0.16, 5.0.12, 5.21.10, 6.10.2
- Attack
- Over the network · Needs a user account · No user action needed
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H- Also known as
- GHSA-f886-r3x9-fp2r
- Sources
- CVE Program, Project advisories (GitHub)
Description
A tenant allowed to create images and instances in a single restricted project uploads a container image whose rootfs tarball carries a block-device special file. On launch the root daemon writes that node into the container's rootfs unchanged, and because LXD installs its devices-cgroup deny policy only for privileged containers, the root user of an ordinary unprivileged container can open the host's block devices through it. Pointed at the host's root partition the tenant reads any file on the host, and can write the raw device. Demonstrated reads, byte-for-byte: /etc/shadow, the LXD daemon private key server.key, and the LXD trust database local.db. Reading server.key plus local.db is equivalent to taking over the LXD daemon. No host account and no privileged container are required; the tenant acts only over the HTTPS API.
Line references are to the lxd_5.21.8 source tree (LXD 5.21.8 LTS), the release this advisory targets.
Affected software
| Software | Affected versions |
|---|---|
LXDServers and applications · cna:canonical|lxd |
|
LXDServers and applications · github:canonical/lxd |
|
About LXD
container manager for system containers
- GitHub stars
- 4,861GitHub, 29 Nov 2026
- Forks
- 1,080GitHub, 29 Nov 2026
- Latest release
- lxd-6.10.2GitHub, 29 Nov 2026
- Released
- 26 Nov 2026GitHub
- Developer
- Stéphane GraberWikidata
- License
- AGPL-3.0GitHub
- Written in
- GoWikidata
- First released
- 4 Nov 2014Wikidata
- First published on GitHub
- 4 Nov 2014GitHub
Vulnerabilities in LXD
- In our list
- 93
- Published in the last 12 months
- 77
- Critical, last 12 months
- 26
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-127155Restricted clients can exhaust LXD memory through unbounded request bodies on upload endpointsHigh 7.1 1 Dec 2026
- CVE-2026-127159Migration peers can force unbounded memory allocation on the receiving daemonHigh 7.1 1 Dec 2026
- CVE-2026-140086lxc image export short-fingerprint symlink traversalHigh 7.5 1 Dec 2026
- CVE-2026-140085snap: HOME=/tmp/ is inherited by host commands run via run-host; root `pro` (Python) uses a per-user site directory under world-writable /tmpHigh 7.3 1 Dec 2026
- CVE-2026-140084Fine-grained project users on LXD 5.21 can create resources in the default project, bypassing project isolation (host root via `raw.dnsmasq`)Medium 6.5 1 Dec 2026
- CVE-2026-122225VM backup config symlink makes the root daemon bind-mount host directories into the guestMedium 6.4 26 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-127156
- GitHub Advisory Database https://github.com/advisories/GHSA-f886-r3x9-fp2r
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-f886-r3x9-fp2r