GHSA-vghh-5rfx-xhq8: LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image
Published 2026-11-06 · Updated 2026-11-23 · Also known as GO-2026-6938
Summary
LXD and Incus are vulnerable to arbitrary file read and write attacks due to insufficient validation of symlinks in container images. Administrators using these container runtimes should immediately update to the patched version to prevent host filesystem compromise.
Who is affected
The vulnerability allows a malicious actor to gain root-level access to the host filesystem by importing a crafted container image containing a symlink directed at the host root directory. This bypasses filesystem isolation, enabling unauthorized data access and potential arbitrary command execution on the host machine. Deployment is affected when users rely on external or untrusted container images.
Exploitability
The vulnerability is rated as critical with a CVSS score of 9.9, reflecting a low attack complexity that does not require user interaction. The attack is network-accessible and carries a high impact on confidentiality, integrity, and availability. No CISA KEV data is available, and EPSS data is not yet provided.
Remediation
- Upgrade github.com/canonical/lxd to version 0.0.0-20260630083100-c5184be310b1 or later.
- Verify the integrity and origin of all imported container images before initialization.
How to check your project
- Check the project's go.mod or go.sum files to determine if github.com/canonical/lxd is present.
- Run 'go list -m github.com/canonical/lxd' to identify the specific version currently installed in the environment.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/canonical/lxd |
>= 0, < 0.0.0-20260630083100-c5184be310b1 | 0.0.0-20260630083100-c5184be310b1 | go get github.com/canonical/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Changed |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
What is the primary vector for this attack?
The attack utilizes a specially crafted container image that contains a symlink pointing to the host's filesystem, which is processed during image extraction and container initialization.
Does this vulnerability lead to remote code execution?
Yes, while the primary impact is arbitrary file read and write, the capability to modify host files can lead to arbitrary command execution.
Is this vulnerability currently being exploited in the wild?
There is no evidence of active exploitation documented in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- WEB https://github.com/canonical/lxd/security/advisories/GHSA-vghh-5rfx-xhq8
- WEB https://github.com/lxc/incus/security/advisories/GHSA-2q3f-q5pq-g8wv
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-48749
- WEB https://github.com/canonical/lxd/commit/190e2451544a60f6f924ef50a2112fb65d1923cd
- WEB https://github.com/canonical/lxd/commit/254b85c9301397e25304116b63da9154093199da
- WEB https://github.com/canonical/lxd/commit/3dbf4cea14124abda420dd5048d7e657cd30c1b7
- WEB https://github.com/canonical/lxd/commit/4cd63344f8a523acf39fdc02a80fd64b2e3b584f
- WEB https://github.com/canonical/lxd/commit/51dc11ed5258fbb54dd8993b802af02d6d7b0235
- WEB https://github.com/canonical/lxd/commit/62bcee5471c2581fce10a648f6b27410ce081b87
- WEB https://github.com/canonical/lxd/commit/8751ea69e24583996a20fb5519dcf2d89470d8e9
- WEB https://github.com/canonical/lxd/commit/b499ec4b91dcc90f43aea444b1e19a58109772c2
- WEB https://github.com/canonical/lxd/commit/e2aeca6b78677751bab36a7e4efaad0c840ed9fd
- WEB https://github.com/canonical/lxd/commit/edb6d994f77333c9c33f4d9a137c754d142f3818
- PACKAGE https://github.com/canonical/lxd
Source records: GHSA-vghh-5rfx-xhq8, GO-2026-6938 (OSV.dev).