CVE-2026-87799

Arbitrary file write on LXD host via symlink in migration stream

State
Published
Severity
9.9 Critical
Published
Sep 28, 2026
Updated
Sep 29, 2026
Reserved
Sep 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.9 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hcanonical

Weaknesses

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

Affected Products

ProductVersions
LXDCanonical
  • 4.0.0 to before 4.0.14Affected
  • 5.0.0 to before 5.0.10Affected
  • 5.21.0 to before 5.21.8Affected
  • 6.0 to before 6.10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.