Read the docs

Code generation flaw in Canonical LXD allows root command execution

Priority LOW 29CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

Canonical LXD before 4.0.16, 5.0.12, 5.21.10 and 6.10.2 is affected. Improper control of code generation in container configuration handling (CWE-94) lets an authenticated user with restricted project access execute arbitrary commands as root on the host. The same flaw can also crash the daemon and alter shared bridge DHCP assignments.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

Improper control of code generation and project restriction enforcement in container configuration handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access to execute arbitrary commands as root on the host, crash the daemon, and alter shared bridge DHCP assignments via image-supplied LXC configuration, concurrent rename races during updates, and unvalidated syscall or hardware address settings.

Why it matters now

EPSS 0.0049 35th percentileScored 2026-11-30
Fix Fixed LXD (Canonical): 4.0.16, 5.0.12, 5.21.10 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
CanonicalLXD4.0 to before 4.0.16; 4.0 to before 5.0.12; 4.0 to before 5.21.10; 4.0 to before 6.10.24.0.16, 5.0.12, 5.21.10, 6.10.2Patch availableCNA
  • LXD VendorCanonical Affected 4.0 to before 4.0.16; 4.0 to before 5.0.12; 4.0 to before 5.21.10; 4.0 to before 6.10.2 Fixed in 4.0.16, 5.0.12, 5.21.10, 6.10.2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*——Canonical
  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* Versions — — ·Canonical

Remediation

Upgrade Canonical LXD to 4.0.16, 5.0.12, 5.21.10 or 6.10.2, depending on the release branch in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

  • Fix · CNA LXD (Canonical) Fixed in 4.0.16, 5.0.12, 5.21.10, 6.10.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Canonical LXD 4.0.16, 5.0.12 and 2 more versions

    19 records Highest priority Priority LOW 19 LOW

    Other records, highest priority first

    • TI-2026-99082 Improper link resolution in Canonical LXD recursive file pullPriority LOW 39
    • TI-2026-99050 Path traversal in LXD lets clients write and delete host filesPriority LOW 30
    • TI-2026-99085 Canonical LXD resource exposure to wrong sphere in image metadata handlingPriority LOW 29

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-135379

References

  • TI-2020-09349 SaltStack Salt salt-master ClearFuncs allows unauthenticated method calls KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05854 Command injection in OpenSMTPD lets remote users run commands as root KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-01431 Netlogon elevation of privilege in Microsoft Windows Server KEVCVSS 3.1CRITICAL 10.0
  • TI-2019-12627 Heap-based buffer overflow in Exim allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-08259 Buffer underflow in PHP-FPM allows remote code execution KEVCVSS 3.1CRITICAL 9.8
  • TI-2019-07471 Improper recipient validation in Exim allows remote command execution KEVCVSS 3.1CRITICAL 9.8
See all 4340 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences