github.com/canonical/lxd (Go)

Known vulnerabilities and malicious package reports for github.com/canonical/lxd on Go, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 34 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-472f-vmf2-pr3h: Vulnerability

Canonical LXD Path Traversal Vulnerability in Instance Log File Retrieval Function

Published .

Updated .

Affected ranges: introduced 4.0, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20200331193331-03aab09f5b5c, fixed 0.0.0-20250224180022-ec09b24179f3.

Fix versions reported by the advisory: 5.21.4, 6.5, 0.0.0-20250224180022-ec09b24179f3.

Severity: MEDIUM.

CVE-2025-54293

GHSA-q96j-3fmm-7fv4: Vulnerability

LXD: Importing a crafted backup leads to project restriction bypass

Published .

Updated .

Affected ranges: introduced 0.0.0-20210305023314-538ac3df036e, last_affected 0.0.0-20260226085519-736f34afb267.

Severity: CRITICAL.

CVE-2026-34178

GHSA-fm2x-c5qw-4h6f: Vulnerability

LXD: VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf

Published .

Updated .

Affected ranges: introduced 0.0.0-20210305023314-538ac3df036e, last_affected 0.0.0-20260226085519-736f34afb267.

Severity: CRITICAL.

CVE-2026-34177

GHSA-xch9-h8qw-85c7: Vulnerability

Canonical LXD Project Existence Determination Through Error Handling in Image Get Function

Published .

Updated .

Affected ranges: introduced 4.0, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20200331193331-03aab09f5b5c, fixed 0.0.0-20250827065555-0494f5d47e41.

Fix versions reported by the advisory: 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41.

Severity: MEDIUM.

CVE-2025-54291

GHSA-j93m-3j9p-m5m8: Vulnerability

LXD has CreateCustomVolumeFromBackup nil-pointer dereference on volumes[0].snapshots[*].expires_at

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260622081844-85f897013ccd.

Fix versions reported by the advisory: 0.0.0-20260622081844-85f897013ccd.

Severity: MEDIUM.

CVE-2026-9639

GHSA-7232-97c6-j525: Vulnerability

Canonical LXD Source Container Identification Vulnerability via cmdline Spoofing in devLXD Server

Published .

Updated .

Affected ranges: introduced 4.0, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20200331193331-03aab09f5b5c, fixed 0.0.0-20250827065555-0494f5d47e41.

Fix versions reported by the advisory: 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41.

Severity: MEDIUM.

CVE-2025-54288

GHSA-p3x5-mvmp-5f35: Vulnerability

Canonical LXD Project Existence Determination Through Error Handling in Image Export Function

Published .

Updated .

Affected ranges: introduced 4.0, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20200331193331-03aab09f5b5c, fixed 0.0.0-20250827065555-0494f5d47e41.

Fix versions reported by the advisory: 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41.

Severity: MEDIUM.

CVE-2025-54290

GHSA-c3h3-89qf-jqm5: Vulnerability

LXD: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

Published .

Updated .

Affected ranges: introduced 0.0.0-20210305023314-538ac3df036e, last_affected 0.0.0-20260226085519-736f34afb267.

Severity: CRITICAL.

CVE-2026-34179

GHSA-3g72-chj4-2228: Vulnerability

Canonical LXD Vulnerable to Privilege Escalation via WebSocket Connection Hijacking in Operations API

Published .

Updated .

Affected ranges: introduced 4.0, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20200331193331-03aab09f5b5c, fixed 0.0.0-20250827065555-0494f5d47e41.

Fix versions reported by the advisory: 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41.

Severity: HIGH.

CVE-2025-54289

GHSA-hhf9-qw4v-72xp: Vulnerability

lxd allows Cross-guest volume hijack via DevLXD device patch

Published .

Updated .

Affected ranges: introduced 0.0.0-20250721152936-fe86ceb2c3fa, fixed 0.0.0-20260626085133-7cb96ac80a6d.

Fix versions reported by the advisory: 0.0.0-20260626085133-7cb96ac80a6d.

Severity: CRITICAL.

CVE-2026-12411

GHSA-3gq2-x4qg-p4g6: Vulnerability

LXD: SSRF via image import from URL allows internal network probing by authenticated users

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20261005133302-c4a919f3f4e2.

Fix versions reported by the advisory: 0.0.0-20261005133302-c4a919f3f4e2.

Severity: MEDIUM.

CVE-2026-28385

GHSA-crmg-9m86-636r: Vulnerability

lxd's non-recursive certificate listing bypasses per-object authorization and leaks all fingerprints

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260224152359-d936c90d47cf.

Fix versions reported by the advisory: 0.0.0-20260224152359-d936c90d47cf.

Severity: MEDIUM.

CVE-2026-3351

GHSA-p8hw-rfjg-689h: Vulnerability

Canonical LXD CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI

Published .

Updated .

Affected ranges: introduced 5.0, fixed 5.0.5; introduced 5.1, fixed 5.21.4; introduced 6.0, fixed 6.5; introduced 0.0.0-20220401034332-1e1349e3cbf3, fixed 0.0.0-20250827065555-0494f5d47e41.

Fix versions reported by the advisory: 5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41.

Severity: HIGH.

CVE-2025-54286

GHSA-4c49-9fpc-hc3v: Vulnerability

lxd CA certificate sign check bypass

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20240708073652-5a492a3f0036.

Fix versions reported by the advisory: 0.0.0-20240708073652-5a492a3f0036.

Severity: LOW.

CVE-2024-6156

GHSA-jpmc-7p9c-4rxf: Vulnerability

lxd has a restricted TLS certificate privilege escalation when in PKI mode

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20240403103450-0e7f2b5bf4d2.

Fix versions reported by the advisory: 0.0.0-20240403103450-0e7f2b5bf4d2.

Severity: LOW.

CVE-2024-6219

GO-2026-6929: Vulnerability

LXD has arbitrary file write on host via exec-output symlink in crafted image in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260626085134-124f90100640.

Fix versions reported by the advisory: 0.0.0-20260626085134-124f90100640.

GO-2026-6930: Vulnerability

LXD has arbitrary file read+write on host via templates/ symlink in malicious image in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260203144152-d1c8ba15d160.

Fix versions reported by the advisory: 0.0.0-20260203144152-d1c8ba15d160.

GO-2026-6932: Vulnerability

LXD has restricted project bypass leading to arbitrary command execution in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GO-2026-6933: Vulnerability

LXD has project restriction bypass for custom volume copy across projects in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GO-2026-6934: Vulnerability

LXD has argument injection in backup compression algorithm leading to AFW and ACE in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GO-2026-6936: Vulnerability

LXD has arbitrary file write on client due to trusted image hash in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GO-2026-6937: Vulnerability

LXD has project restriction bypass in instance copy across projects in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GO-2026-6938: Vulnerability

LXD has arbitrary file read+write on host via rootfs/ symlink in malicious image in github.com/canonical/lxd

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

GHSA-47w9-6r3f-938g: Vulnerability

LXD has restricted project bypass leading to arbitrary command execution

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

Severity: CRITICAL.

GHSA-7mr3-28h5-m5vx: Vulnerability

LXD has project restriction bypass for custom volume copy across projects

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20260630083100-c5184be310b1.

Fix versions reported by the advisory: 0.0.0-20260630083100-c5184be310b1.

Severity: HIGH.

More reports are available in the interactive package view.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.