RCE in Canonical Lxd
CVE-2026-28384
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.4-1374f39 (channel 5.21/stable), and 6.7-1f11451 (channel 6.0 stable). The channel 4.0/stable is not affected as it contains version 4.0.10.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (57.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 57th percentile — 57.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.009 · change: +0.004
Affected products
- Canonical Lxd — versions 6.0, 5.21.0, 5.0.0
Weakness classification (CWE)
References
- github.com/canonical/lxd/security/advisories/GHSA-4rmf-rcp8-2r9g (Exploit, vendor-advisory, Vendor Advisory)
- github.com/canonical/lxd/commit/043696a13171ace7dd4c2b32d34ce039ab629052 (Patch, patch)
- github.com/canonical/lxd/commit/7046979645c2ce1b63b2f9e60ddf6cbc4c4b78f9 (Patch, patch)
- github.com/canonical/lxd/commit/b7b411caf5c4971bfe2386c72128f44d7e2aaf4f (Patch, patch)
- discourse.ubuntu.com/t/lxd-authenticated-remote-code-execution-fixes-available/… (Exploit, media-coverage, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-28384?
- CVE-2026-28384 is a critical-severity vulnerability in Canonical Lxd, classified under OS Command Injection. CVSS score: 9.9/10. Published 2026-03-12.
- How severe is CVE-2026-28384?
- Critical severity. CVSS v3 base score is 9.9 out of 10.