CVE-2026-135379: lxd: Improper control of code generation in container configuration and restriction checks
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 4.0.16 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.0.12 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.21.10 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.10.2
Event History
Frequently Asked Questions
Which LXD releases contain fixes for this issue?
Fixed versions are 4.0.16, 5.0.12, 5.21.10, and 6.10.2. Deployments running earlier versions in those release lines are affected.
What access does an attacker need?
An attacker must be authenticated and have access to a restricted project. The issue does not describe exploitation by an unauthenticated user.