CVE-2026-115843: lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration

Published Nov 26, 2026
·
Updated

In LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2, an improper limitation of a pathname to a restricted directory vulnerability allows an authenticated client restricted to a single project to write and delete files at arbitrary host filesystem paths as root.

When a custom storage volume is pushed to a LXD daemon, the snapshot names supplied by the migration peer are never validated and are used to build the filesystem path of each received snapshot. This allows an attacker to place attacker-controlled files into any host directory as root, gaining root-level code execution on the host, and to recursively delete an attacker-chosen path.

Affected Software

7 affected components
Canonical LXD<4.0.16
Canonical LXD<5.0.12
Canonical LXD<5.21.10
Canonical LXD<6.10.2
debian/lxd*
debian/lxd*
debian/lxd<=5.0.2-5+deb12u6, <=5.0.2+git20231211.1364ae4-9+deb13u7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 4.0.16
  2. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 5.0.12
  3. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 5.21.10
  4. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 6.10.2

Event History

Nov 26, 2026
CVE Published
via MITRE·11:16 PM
Data Sourced
via MITRE·11:16 PM
DescriptionWeakness
Nov 27, 2026
Data Sourced
via NVD·12:16 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·12:16 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated LXD client that is restricted to a single project can exploit it. The vulnerable operation is pushing a custom storage volume to the LXD daemon.

2

What access and conditions are required for exploitation?

The attacker needs authenticated access to a vulnerable LXD daemon and must be able to act as the migration peer for a custom storage volume push. They supply crafted snapshot names that are used without validation when the daemon constructs snapshot filesystem paths.

3

What is the potential impact on the host?

An attacker can write attacker-controlled files to arbitrary host filesystem locations as root and recursively delete an attacker-chosen path. This can result in root-level code execution on the host.

4

Which LXD releases are affected?

LXD versions before 4.0.16, 5.0.12, 5.21.10, and 6.10.2 are affected.

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