Arbitrary file write on LXD host via symlink in migration stream
Improper link resolution in the migration receive path in Canonical LXD versions 4.0 and later (fixed in 4.0.14, 5.0.10, 5.21.8 and 6.10) on Linux allows an authenticated client that can create instances or custom storage volumes in a project, or a malicious migration source server, to write attacker-controlled files to arbitrary paths on the target host as root, leading to full host compromise. The attacker does this with a crafted rsync or btrfs send stream that plants a symlink in the transferred volume, such as rootfs or root.img, and then writes through it.
CVE-2026-87799
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-87799
LXD
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://github.com/canonical/lxd",
"vendor": "Canonical",
"product": "LXD",
"versions": [
{
"status": "affected",
"version": "4.0.0",
"lessThan": "4.0.14",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.0.0",
"lessThan": "5.0.10",
"versionType": "semver"
},
{
"status": "affected",
"version": "5.21.0",
"lessThan": "5.21.8",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.0",
"lessThan": "6.10",
"versionType": "semver"
}
],
"platforms": [
"Linux"
],
"packageName": "LXD",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-87799
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #3409 · Revision 1
- Added to Heist Feed
- Publisher date