CVE-2026-9640: LXD Snapshot Import Privilege Escalation Vulnerability

Published Jun 26, 2026
·
Updated

A privilege escalation vulnerability exists in LXD from 6.0 before 6.9, 5.21.0 before 5.21.5, and 5.0.0 before 5.0.7 regarding the handling of project-restriction policies during snapshot restoration.. An authenticated project operator in a restricted multi-tenant environment can bypass policy restrictions by importing a maliciously crafted instance backup containing restricted configuration keys within a snapshot. When the snapshot is restored, these restricted keys are applied to the live instance without policy validation. Starting the modified instance grants the operator unauthorized host root access.

Affected Software

6 affected components
LXD LXD>6.0<6.9
LXD LXD<5.21.5
LXD LXD<5.0.7
Canonical LXD>=4.12<5.0.7
Canonical LXD>=5.21.0<5.21.5
Canonical LXD>=6.0<6.9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade lxd to a version that resolves this vulnerability.

    Fixed in 6.9
  2. Upgrade

    Upgrade lxd to a version that resolves this vulnerability.

    Fixed in 5.21.5
  3. Upgrade

    Upgrade lxd to a version that resolves this vulnerability.

    Fixed in 5.0.7

Event History

Jun 26, 2026
CVE Published
via MITRE·03:50 PM
Data Sourced
via MITRE·03:50 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 8, 58583
Event
via FIRST·07:10 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-9640?

CVE-2026-9640 has a severity rating of 7.2, which is classified as high.

2

How do I fix CVE-2026-9640?

To mitigate CVE-2026-9640, upgrade LXD to version 6.9 or later, or to version 5.21.5 or later for the affected 5.21.0 series.

3

Who is affected by CVE-2026-9640?

Authenticated project operators in restricted multi-tenant environments using vulnerable LXD versions are at risk from CVE-2026-9640.

4

What type of vulnerability is CVE-2026-9640?

CVE-2026-9640 is a privilege escalation vulnerability related to snapshot restoration in LXD.

5

What does CVE-2026-9640 allow an attacker to do?

CVE-2026-9640 allows an authenticated user to bypass project-restriction policies during snapshot restoration.

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