CVE-2026-127152: lxd: Improper privilege management when rebuilding never-started unprivileged containers
Improper privilege management during container rebuild in Canonical LXD before 5.21.10, 6.10.2 allows a local user with container permissions to gain root privileges on the host via rebuilding a never-started unprivileged container so it starts without a user namespace or privileged-container hardening.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 5.21.10 - Upgrade
Upgrade
canonical/lxdto a version that resolves this vulnerability.Fixed in 6.10.2
Event History
Frequently Asked Questions
Who can exploit this issue?
A local user who has permissions to manage containers in LXD can exploit it. The vulnerable path involves an unprivileged container that has never been started.
What conditions are required for exploitation?
The attacker needs to rebuild a never-started unprivileged container. Successful exploitation causes that container to start without a user namespace or privileged-container hardening, enabling root privileges on the host.
Which LXD versions are affected?
Canonical LXD versions before 5.21.10 and before 6.10.2 are affected.