Canonical Lxd vulnerabilities

19 known vulnerabilities affecting canonical/lxd.

Total CVEs
19
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL4HIGH4MEDIUM8LOW3

Vulnerabilities

Page 1 of 1
CVE-2026-34178CRITICALCVSS 9.1≥ 4.12.0, < 5.0.7≥ 5.1.0, < 5.21.5+1 more2026-04-09
CVE-2026-34178 [CRITICAL] CWE-20 CVE-2026-34178: In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/in In Canonical LXD before 6.8, the backup import path validates project restrictions against backup/index.yaml in the supplied tar archive but creates the instance from backup/container/backup.yaml, a separate file in the same archive that is never checked against project restrictions. An authenticated remote attacker with instance-creation permissio
cvelistv5nvd
CVE-2026-34179CRITICALCVSS 9.1≥ 4.12.0, < 5.0.7≥ 5.1.0, < 5.21.5+1 more2026-04-09
CVE-2026-34179 [CRITICAL] CWE-915 CVE-2026-34179: In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate the Type field when handling PUT/PATCH requests to /1.0/certificates/{fingerprint} for restricted TLS certificate users, allowing a remote authenticated attacker to escalate privileges to cluster admin.
cvelistv5nvd
CVE-2026-34177CRITICALCVSS 9.1≥ 4.12.0, < 5.0.7≥ 5.1.0, < 5.21.5+1 more2026-04-09
CVE-2026-34177 [CRITICAL] CWE-184 CVE-2026-34177: Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidde Canonical LXD versions 4.12 through 6.7 contain an incomplete denylist in isVMLowLevelOptionForbidden (lxd/project/limits/permissions.go), which omits raw.apparmor and raw.qemu.conf from the set of keys blocked under the restricted.virtual-machines.lowlevel=block project restriction. A remote attacker with can_edit permission on a VM instance in a
cvelistv5nvd
CVE-2026-28384CRITICALCVSS 9.4≥ 6.0, < 6.7≥ 5.21.0, < 5.21.4+2 more2026-03-12
CVE-2026-28384 [CRITICAL] CWE-78 CVE-2026-28384: An improper sanitization of the compression_algorithm parameter in Canonical LXD allows an authentic An improper sanitization of the compression_algorithm parameter in Canonical LXD allows an authenticated, unprivileged user to execute commands as the LXD daemon on the LXD server via API calls to the image and backup endpoints. This issue affected LXD from 4.12 through 6.6 and was fixed in the snap versions 5.0.6-e49d9f4 (channel 5.0/stable), 5.21
cvelistv5nvd
CVE-2026-3351LOWCVSS 2.1v6.62026-03-03
CVE-2026-3351 [LOW] CWE-862 CVE-2026-3351: Improper authorization in the API endpoint GET /1.0/certificates in Canonical LXD 6.6 on Linux allow Improper authorization in the API endpoint GET /1.0/certificates in Canonical LXD 6.6 on Linux allows an authenticated, restricted user to enumerate all certificate fingerprints trusted by the lxd server.
cvelistv5nvd
CVE-2025-54289HIGHCVSS 7.4≥ 4.0.0, < 5.21.4≥ 6.1, < 6.5+2 more2025-10-02
CVE-2025-54289 [HIGH] CWE-1385 CVE-2025-54289: Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker w Privilege Escalation in operations API in Canonical LXD <6.5 on multiple platforms allows attacker with read permissions to hijack terminal or console sessions and execute arbitrary commands via WebSocket connection hijacking format
cvelistv5nvd
CVE-2025-54286HIGHCVSS 7.5≥ 5.0.0, < 5.0.5≥ 5.21.0, < 5.21.4+4 more2025-10-02
CVE-2025-54286 [HIGH] CWE-352 CVE-2025-54286: Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an atta Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an attacker to create and start container instances without user consent via crafted HTML form submissions exploiting client certificate authentication.
cvelistv5nvd
CVE-2025-54287HIGHCVSS 7.1≥ 4.0.0, < 5.21.4≥ 6.1, < 6.5+2 more2025-10-02
CVE-2025-54287 [HIGH] CWE-1336 CVE-2025-54287: Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attac Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance configuration permissions to read arbitrary files on the host system via specially crafted snapshot pattern templates using the Pongo2 template engine.
cvelistv5nvd
CVE-2025-54293HIGHCVSS 7.1≥ 4.0.0, < 5.21.4≥ 6.0, < 6.5+1 more2025-10-02
CVE-2025-54293 [HIGH] CWE-22 CVE-2025-54293: Path Traversal in the log file retrieval function in Canonical LXD 5.0 LTS on Linux allows authentic Path Traversal in the log file retrieval function in Canonical LXD 5.0 LTS on Linux allows authenticated remote attackers to read arbitrary files on the host system via crafted log file names or symbolic links.
cvelistv5nvd
CVE-2025-54288MEDIUMCVSS 5.1≥ 4.0.0, < 5.21.4≥ 6.1, < 6.5+2 more2025-10-02
CVE-2025-54288 [MEDIUM] CWE-290 CVE-2025-54288: Information Spoofing in devLXD Server in Canonical LXD versions 4.0 and above on Linux container pla Information Spoofing in devLXD Server in Canonical LXD versions 4.0 and above on Linux container platforms allows attackers with root privileges within any container to impersonate other containers and obtain their metadata, configuration, and device information via spoofed process names in the command line.
cvelistv5nvd
CVE-2025-54290MEDIUMCVSS 6.9≥ 4.0.0, < 5.21.4≥ 6.1, < 6.5+2 more2025-10-02
CVE-2025-54290 [MEDIUM] CWE-200 CVE-2025-54290: Information disclosure in image export API in Canonical LXD before 6.5 and 5.21.4 on Linux allows ne Information disclosure in image export API in Canonical LXD before 6.5 and 5.21.4 on Linux allows network attackers to determine project existence without authentication via crafted requests using wildcard fingerprints.
cvelistv5nvd
CVE-2025-54291MEDIUMCVSS 6.9≥ 4.0.0, < 5.21.4≥ 6.1, < 6.5+2 more2025-10-02
CVE-2025-54291 [MEDIUM] CWE-209 CVE-2025-54291: Information disclosure in images API in Canonical LXD before 6.5 and 5.21.4 on all platforms allows Information disclosure in images API in Canonical LXD before 6.5 and 5.21.4 on all platforms allows unauthenticated remote attackers to determine project existence via differing HTTP status code responses.
cvelistv5nvd
CVE-2025-54292MEDIUMCVSS 4.8≥ 5.0.0, < 5.21.4≥ 6.0, < 6.5+1 more2025-10-02
CVE-2025-54292 [MEDIUM] CWE-22 CVE-2025-54292: Path traversal in Canonical LXD LXD-UI versions before 6.5 and 5.21.4 on all platforms allows remote Path traversal in Canonical LXD LXD-UI versions before 6.5 and 5.21.4 on all platforms allows remote authenticated attackers to access or modify unintended resources via crafted resource names embedded in URL paths.
cvelistv5nvd
CVE-2024-6156LOWCVSS 3.8≥ 4.0.0, < 4.0.10≥ 5.0.0, < 5.0.4+1 more2024-12-06
CVE-2024-6156 [LOW] CWE-295 CVE-2024-6156: Mark Laing discovered that LXD's PKI mode, until version 5.21.2, could be bypassed if the client's c Mark Laing discovered that LXD's PKI mode, until version 5.21.2, could be bypassed if the client's certificate was present in the trust store.
nvd
CVE-2024-6219LOWCVSS 3.8fixed in 5.21.12024-12-06
CVE-2024-6219 [LOW] CWE-295 CVE-2024-6219: Mark Laing discovered in LXD's PKI mode, until version 5.21.1, that a restricted certificate could b Mark Laing discovered in LXD's PKI mode, until version 5.21.1, that a restricted certificate could be added to the trust store with its restrictions not honoured.
nvd
CVE-2023-49721MEDIUMCVSS 6.7≥ 5.0.0, < 5.21.02024-02-14
CVE-2023-49721 [MEDIUM] CWE-276 CVE-2023-49721: An insecure default to allow UEFI Shell in EDK2 was left enabled in LXD. This allows an OS-resident An insecure default to allow UEFI Shell in EDK2 was left enabled in LXD. This allows an OS-resident attacker to bypass Secure Boot.
nvd
CVE-2023-48733MEDIUMCVSS 6.7v5.0v5.212024-02-14
CVE-2023-48733 [MEDIUM] CWE-1188 CVE-2023-48733: An insecure default to allow UEFI Shell in EDK2 was left enabled in Ubuntu's EDK2. This allows an OS An insecure default to allow UEFI Shell in EDK2 was left enabled in Ubuntu's EDK2. This allows an OS-resident attacker to bypass Secure Boot.
nvd
CVE-2016-1581MEDIUMCVSS 5.5≤ 2.0.12016-06-09
CVE-2016-1581 [MEDIUM] CWE-284 CVE-2016-1581: LXD before 2.0.2 uses world-readable permissions for /var/lib/lxd/zfs.img when setting up a loop bas LXD before 2.0.2 uses world-readable permissions for /var/lib/lxd/zfs.img when setting up a loop based ZFS pool, which allows local users to copy and read data from arbitrary containers via unspecified vectors.
nvd
CVE-2016-1582MEDIUMCVSS 5.5v2.0.12016-06-09
CVE-2016-1582 [MEDIUM] CWE-200 CVE-2016-1582: LXD before 2.0.2 does not properly set permissions when switching an unprivileged container into pri LXD before 2.0.2 does not properly set permissions when switching an unprivileged container into privileged mode, which allows local users to access arbitrary world readable paths in the container directory via unspecified vectors.
nvd