CVE-2026-87799: Arbitrary file write on LXD host via symlink in migration stream

Published Sep 28, 2026
·
Updated

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.

Affected Software

1 affected component
Canonical LXD>=4.0<4.0.14, >=5.0<5.0.10, >=5.21<5.21.8, >=6.0<6.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 4.0.14
  2. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 5.0.10
  3. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 5.21.8
  4. Upgrade

    Upgrade Canonical LXD to a version that resolves this vulnerability.

    Fixed in 6.10

Event History

Sep 28, 2026
CVE Published
via MITRE·01:22 PM
Data Sourced
via MITRE·01:22 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated LXD client that can create instances or custom storage volumes in a project can exploit it. A malicious migration source server can also exploit a target that receives its migration stream.

2

Does exploitation require interaction from another user?

No. The supplied vector indicates no user interaction is required, but the attacker needs either the relevant authenticated LXD project permissions or control of a migration source server.

3

What is the impact on the target host?

A crafted rsync or btrfs send stream can create a symlink in a transferred volume and write through it to an arbitrary host path as root. This can lead to full compromise of the LXD host.

4

Which LXD releases contain fixes?

Fixes are identified in LXD 4.0.14, 5.0.10, 5.21.8, and 6.10. The issue affects LXD 4.0 and later before the applicable fixed release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203