backup compression algorithm leading to AFW · LXD Has Argument Injection
Affects github.com/canonical/lxdSource GCVE Database
CVSS 9.9 Critical : upgrade to 0.0.0-20260630083100-c5184be310b1 as a priority.
Data as of 6 Nov 2026, 20:32 UTC
- Patch
- Available – fixed in 0.0.0-20260630083100-c5184be310b1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HWhat to do
Upgrade github.com/canonical/lxd to 0.0.0-20260630083100-c5184be310b1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in LXD (Incus) version 0.0.0-20260630083100-c5184be310b1 that corrects the validation of the backup compression algorithm input to prevent argument injection. Users should upgrade to this fixed version to remediate the vulnerability. No alternative mitigations are specified in the advisory.
Description
LXD (Incus) contains a vulnerability in its backup compression algorithm handling that allows argument injection. The software validates only the first token of the user-supplied compression algorithm against an allowlist but does not reject extra arguments. This flaw enables an attacker to inject additional command-line arguments, leading to arbitrary file writes on the host system and potentially arbitrary command execution. A proof-of-concept demonstrates uploading a malicious cron job file via this injection. The vulnerability is rated critical with a CVSS score of 9.9 and has been patched in version 0.0.0-20260630083100-c5184be310b1.
References
- github.com/canonical/lxd/security/advisories/GHSA-fmc8-p6q7-75cc (opens in a new tab)
- github.com/lxc/incus/security/advisories/GHSA-v6mj-8pf4-hhw4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-48755 (opens in a new tab)
- github.com/canonical/lxd/commit/0915bb88cbb0baed5ac1aef8e62079c57ac877da (opens in a new tab)
- github.com/canonical/lxd/commit/0ab30d1bbe398ef6359fb8116d6852790a1f151d (opens in a new tab)
- github.com/canonical/lxd/commit/1887e3da0f33af250d941e4e9ffafc8fd0911a89 (opens in a new tab)
- github.com/canonical/lxd/commit/32fd88560ddfc10b0a808c9f176d93faf0e0069a (opens in a new tab)
- github.com/canonical/lxd/commit/932592daa790ddd1c0d074daee9c0522d8e268fe (opens in a new tab)
- github.com/canonical/lxd/commit/9b09906b3b4c27ba4416e522644bd1d5191cdf5f (opens in a new tab)
- github.com/canonical/lxd/commit/a2808429c2506d6fa5bf506e4790909c5bd3aac9 (opens in a new tab)
- github.com/canonical/lxd/commit/afc0e7ff003b81fa00f3aff147b99838a610f796 (opens in a new tab)
- github.com/canonical/lxd/commit/b3e8cedb39838e5effe7b9d0ae3a3ad3ce85f9ec (opens in a new tab)
- github.com/canonical/lxd/commit/c6c999561ccf0024337e9f3746087c7f9c5f096f (opens in a new tab)
- github.com/canonical/lxd/commit/e1e6018c509f52db0fb531c7c20fa7aac59858de (opens in a new tab)
- github.com/canonical/lxd/commit/e224d6f8230a2da7ed7e60ab2aee44c788f9dba8 (opens in a new tab)
- github.com/canonical/lxd (opens in a new tab)