CVE-2026-87799 PUBLISHED

Arbitrary file write on LXD host via symlink in migration stream

Assigner: canonical
Reserved: 09.09.2026 Published: 28.09.2026 Updated: 29.09.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 9.9

Product Status

Vendor Canonical
Product LXD
Versions Default: unaffected
  • affected from 4.0.0 to 4.0.14 (excl.)
  • affected from 5.0.0 to 5.0.10 (excl.)
  • affected from 5.21.0 to 5.21.8 (excl.)
  • affected from 6.0 to 6.10 (excl.)

Solutions

Upgrade to LXD versions 4.0.14, 5.0.10, 5.21.8, 6.10 or later.

References

Problem Types

  • CWE-59 Improper link resolution before file access ('link following') CWE

Impacts

  • CAPEC-132 Symlink Attack