CVE-2026-135375: lxd: Untrusted search path and context handling in host-side instance helpers
Untrusted search path and context handling in host-side instance helpers in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access or root inside an unprivileged container to execute arbitrary code as root on the host, read daemon memory, remount read-only shifted disks as read-write, and disrupt other projects' mounts via file API, SFTP, syscall interception, and disk hot-plug operations.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
LXDto a version that resolves this vulnerability.Fixed in 4.0.16 - Upgrade
Upgrade
LXDto a version that resolves this vulnerability.Fixed in 5.0.12 - Upgrade
Upgrade
LXDto a version that resolves this vulnerability.Fixed in 5.21.10 - Upgrade
Upgrade
LXDto a version that resolves this vulnerability.Fixed in 6.10.2
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with restricted project access can exploit it. Root inside an unprivileged container can also exploit it.
What level of host access could exploitation provide?
Successful exploitation can allow arbitrary code execution as root on the host and reading daemon memory. It can also permit remounting read-only shifted disks as read-write and disrupting mounts used by other projects.
Which LXD releases are affected?
The issue affects LXD releases before 4.0.16, 5.0.12, 5.21.10, and 6.10.2.