Skip to main content

LXD CVE-2026-9639

| EUVDEUVD-2026-39789 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-06-26 canonical
6.5
CVSS 3.1 · Vendor: canonical
Share

Severity by source

Vendor (canonical) PRIMARY
6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI
6.5 MEDIUM

Network-accessible LXD API, low complexity; PR:L because can_create_storage_volumes is required; crash yields A:H with no data exposure.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
Source Code Evidence Fetched
Jun 26, 2026 - 16:21 vuln.today
Analysis Generated
Jun 26, 2026 - 16:21 vuln.today
CVE Published
Jun 26, 2026 - 15:39 cve.org
MEDIUM 6.5

DescriptionCVE.org

Nil-pointer dereference in CreateCustomVolumeFromBackup in LXD up to version 6.8 and 5.21 on Linux allows an authenticated user with can_create_storage_volumes permissions to cause a denial of service via a specially crafted custom-volume backup tarball that omits the expires_at snapshot field.

AnalysisAI

Nil-pointer dereference in LXD's CreateCustomVolumeFromBackup function allows an authenticated user with can_create_storage_volumes permissions to crash the LXD daemon via a crafted backup tarball, affecting all containers running on the host. Versions up to 6.8 (current branch) and 5.21 (LTS branch) on Linux are vulnerable. No public exploit or CISA KEV listing exists at time of analysis, but upstream fix commits are available from Canonical.

Technical ContextAI

LXD is Canonical's open-source Linux container and virtual machine hypervisor, primarily deployed on Ubuntu. The flaw resides in lxd/storage/backend_lxd.go within the CreateCustomVolumeFromBackup function. During custom volume restoration from a backup tarball, the code iterates over snapshot entries and unconditionally dereferences the ExpiresAt pointer field (*snapshot.ExpiresAt) when calling VolumeDBCreate. If a crafted tarball omits the expires_at field for any snapshot, the pointer is nil and dereferencing it triggers a fatal nil-pointer dereference (CWE-476), crashing the LXD daemon process. The patch (PR #18320) introduces an explicit nil guard: if snapshot.ExpiresAt != nil, the value is used; otherwise a zero-value time.Time is passed. CPE cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* covers the affected product across all listed versions.

RemediationAI

Upstream fix commits are available in Canonical's GitHub repository via pull requests #18320 (https://github.com/canonical/lxd/pull/18320) and #18390 (https://github.com/canonical/lxd/pull/18390). Exact patched release versions are not independently confirmed from available data - monitor the vendor advisory at https://github.com/canonical/lxd/security/advisories/GHSA-j93m-3j9p-m5m8 for official release tags and apply the update as soon as a patched version is published. As a compensating control prior to patching, restrict the can_create_storage_volumes permission to only fully trusted administrators using LXD's fine-grained authorization system; note this prevents all non-admin users from creating volumes from backups, which may impact legitimate workflows. Additionally, restrict LXD API network exposure to trusted network segments where feasible.

More in Lxd

View all
CVE-2025-54286 HIGH POC
8.8 Oct 02

Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an attacker to create and s

CVE-2025-54289 HIGH POC
8.1 Oct 02

Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read permissions

CVE-2025-54288 MEDIUM POC
6.8 Oct 02

Information Spoofing in devLXD Server in Canonical LXD versions 4.0 and above on Linux container platforms allows attack

CVE-2025-54293 MEDIUM POC
6.5 Oct 02

Path Traversal in the log file retrieval function in Canonical LXD 5.0 LTS on Linux allows authenticated remote attacker

CVE-2025-54287 MEDIUM POC
6.5 Oct 02

A arbitrary file access vulnerability (CVSS 6.5) that allows an attacker with instance configuration permissions. Risk

CVE-2026-66897 CRITICAL
9.9 Aug 24

Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an

CVE-2026-63298 CRITICAL
9.9 Aug 12

Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid

CVE-2026-66898 CRITICAL
9.9 Aug 12

Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write

CVE-2026-63296 CRITICAL
9.9 Aug 12

Authorization bypass in Canonical LXD lets an authenticated user with instance-migration privileges smuggle high-privile

CVE-2026-63297 CRITICAL
9.9 Aug 12

Authorization bypass in Canonical LXD lets an authenticated user with copy privileges smuggle instances carrying disallo

CVE-2026-63299 CRITICAL
9.9 Aug 12

Storage quota bypass in Canonical LXD (5.0.x before 5.0.8, 5.21.x before 5.21.6, and 6.0 before 6.10) lets an authentica

CVE-2026-62420 CRITICAL
9.9 Aug 12

Authorization bypass in Canonical LXD (6.0 before 6.10, 5.21.x before 5.21.6, 5.0.x before 5.0.8) lets an authenticated

Share

CVE-2026-9639 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy