GHSA-9j25-mm2h-2f76: LXD has arbitrary file write on host via `exec-output` symlink in crafted image
Published 2026-11-06 · Updated 2026-11-23 · Also known as GO-2026-6929
Summary
LXD contains an arbitrary file write vulnerability resulting from improper symlink handling within the exec-output directory of instance images. Engineering teams using affected versions of LXD must prioritize an update to secure their host environments against unauthorized file manipulation and potential remote code execution.
Who is affected
The vulnerability allows a local attacker with the ability to manage or interact with instance images to escape container boundaries by overwriting arbitrary files on the host system. By symlinking the exec-output directory to a critical system path, such as /etc/cron.d, an attacker can write malicious command content to the host, leading to full system compromise.
Exploitability
The vulnerability is rated as critical with a CVSS 3.1 score of 9.9, reflecting its high impact on confidentiality, integrity, and availability via a network-based attack vector. Exploitation requires low privileges but does not require user interaction, though EPSS data is not yet available and the vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade to github.com/canonical/lxd version 0.0.0-20260626085134-124f90100640 or later.
- Verify integrity of existing container images to ensure they do not contain malicious symlinks in the exec-output directory.
How to check your project
- Check the currently installed LXD version by running 'lxd --version' or 'snap list lxd'.
- Audit container image filesystem contents for unexpected symlinks named 'exec-output'.
Automated analysis of the published advisory data, generated 2026-11-23. 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-20260626085134-124f90100640 | 0.0.0-20260626085134-124f90100640 | 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
Is this vulnerability actively exploited in the wild?
No, there is no evidence of active exploitation documented by CISA KEV at this time.
Does this flaw affect the host or only the container?
This flaw affects the host system by allowing an attacker inside a container to write files to arbitrary locations on the host filesystem.
What is the primary mechanism of this attack?
The attack leverages the fact that LXD unsafely follows symlinks when creating the exec-output directory during instance execution, enabling a path traversal to sensitive host files.
Original advisory description
References
- WEB https://github.com/canonical/lxd/security/advisories/GHSA-9j25-mm2h-2f76
- WEB https://github.com/lxc/incus/security/advisories/GHSA-73hr-m85f-64v9
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-48750
- WEB https://github.com/canonical/lxd/commit/124f901006400f634d54d908911c9ea93bae9a70
- WEB https://github.com/canonical/lxd/commit/254b85c9301397e25304116b63da9154093199da
- WEB https://github.com/canonical/lxd/commit/4cd63344f8a523acf39fdc02a80fd64b2e3b584f
- WEB https://github.com/canonical/lxd/commit/937b761393af48fe4f5ff7e610ebfc1c9144e953
- WEB https://github.com/canonical/lxd/commit/bb0f2521a59edacff2a0cb2e9532fdfbe68cf764
- PACKAGE https://github.com/canonical/lxd
- WEB https://github.com/canonical/lxd/releases/tag/lxd-5.21.5
- WEB https://manpages.debian.org/bookworm/cron/cron.8.en.html
Source records: GHSA-9j25-mm2h-2f76, GO-2026-6929 (OSV.dev).