Home

Description

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.

PUBLISHED Reserved 2026-02-27 | Published 2026-03-12 | Updated 2026-03-13 | Assigner canonical




CRITICAL: 9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Problem types

CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')

Product status

Default status
unaffected

6.0 (semver) before 6.7
affected

5.21.0 (semver) before 5.21.4
affected

5.0.0 (semver) before 5.0.6
affected

4.12
affected

References

github.com/...al/lxd/security/advisories/GHSA-4rmf-rcp8-2r9g exploit

github.com/...al/lxd/security/advisories/GHSA-4rmf-rcp8-2r9g vendor-advisory

github.com/...ommit/043696a13171ace7dd4c2b32d34ce039ab629052 patch

github.com/...ommit/7046979645c2ce1b63b2f9e60ddf6cbc4c4b78f9 patch

github.com/...ommit/b7b411caf5c4971bfe2386c72128f44d7e2aaf4f patch

discourse.ubuntu.com/...code-execution-fixes-available/78365 media-coverage

cve.org (CVE-2026-28384)

nvd.nist.gov (CVE-2026-28384)

Download JSON