github.com/canonical/lxd · LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image
Affects github.com/canonical/lxdSource GCVE Database
CVSS 9.9 Critical : upgrade to 0.0.0-20260630083100-c5184be310b1 as a priority.
Data as of 6 Nov 2026, 20:32 UTC
- Patch
- Available – fixed in 0.0.0-20260630083100-c5184be310b1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HWhat to do
Upgrade github.com/canonical/lxd to 0.0.0-20260630083100-c5184be310b1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in version 0.0.0-20260630083100-c5184be310b1. Users should upgrade to this fixed version to remediate the vulnerability. No additional mitigation steps are indicated beyond applying the official fix.
Description
A vulnerability in LXD allows a specially crafted container image with a malicious rootfs symlink to perform arbitrary file read and write operations on the host filesystem. This occurs because the image validation process does not properly handle duplicate top-level rootfs symlinks, enabling root-level access to the host. The flaw can lead to arbitrary command execution on the host system.
References
- github.com/canonical/lxd/security/advisories/GHSA-vghh-5rfx-xhq8 (opens in a new tab)
- github.com/lxc/incus/security/advisories/GHSA-2q3f-q5pq-g8wv (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-48749 (opens in a new tab)
- github.com/canonical/lxd/commit/190e2451544a60f6f924ef50a2112fb65d1923cd (opens in a new tab)
- github.com/canonical/lxd/commit/254b85c9301397e25304116b63da9154093199da (opens in a new tab)
- github.com/canonical/lxd/commit/3dbf4cea14124abda420dd5048d7e657cd30c1b7 (opens in a new tab)
- github.com/canonical/lxd/commit/4cd63344f8a523acf39fdc02a80fd64b2e3b584f (opens in a new tab)
- github.com/canonical/lxd/commit/51dc11ed5258fbb54dd8993b802af02d6d7b0235 (opens in a new tab)
- github.com/canonical/lxd/commit/62bcee5471c2581fce10a648f6b27410ce081b87 (opens in a new tab)
- github.com/canonical/lxd/commit/8751ea69e24583996a20fb5519dcf2d89470d8e9 (opens in a new tab)
- github.com/canonical/lxd/commit/b499ec4b91dcc90f43aea444b1e19a58109772c2 (opens in a new tab)
- github.com/canonical/lxd/commit/e2aeca6b78677751bab36a7e4efaad0c840ed9fd (opens in a new tab)
- github.com/canonical/lxd/commit/edb6d994f77333c9c33f4d9a137c754d142f3818 (opens in a new tab)
- github.com/canonical/lxd (opens in a new tab)