Description
A link following vulnerability in LXD allows an attacker to achieve arbitrary file read and write operations on the host system. When importing or unpacking an image archive, LXD fails to validate whether the metadata.yaml file is a symbolic link. An attacker can exploit this flaw by providing a crafted image archive with a symlinked metadata.yaml file pointing to target file paths on the host system.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | LXD | 4.0.0 – < 4.0.12, 5.0.0 – < 5.0.8, 5.21.0 – < 5.21.6, 6.0 – < 6.10 | 4.0.12 |
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 13 | lxd | No fix yet | — |
| Debian 12 | lxd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | lxd | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | lxd | No fix yet | — |
| Ubuntu Pro 16.04 LTS | lxd | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | lxd | 5.21.6-bp160.1.1 | openSUSE-SU-2026:21788-1 |
Advisories 1
- openSUSE-SU-2026:21788-1 Security update for lxd SUSE / openSUSE Security Updates · Sep 9, 2026
References
- https://github.com/canonical/lxd/security/advisories/GHSA-j825-cg34-5fr5 vdb-entry vendor-advisory