Improper access control in lxd - CVE-2026-34177

 

Improper access control in lxd - CVE-2026-34177

Published: April 9, 2026


Vulnerability identifier: #VU125587
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-34177
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Linux Containers
Affected software:
lxd

Detailed vulnerability description

The vulnerability allows a remote user to escalate privileges to host root.

The vulnerability exists due to improper access control in isVMLowLevelOptionForbidden in lxd/project/limits/permissions.go when validating VM low-level configuration keys in a restricted project. A remote privileged user can set the raw.apparmor and raw.qemu.conf options on a VM instance to escalate privileges to host root.

Exploitation requires a restricted project with restricted.virtual-machines.lowlevel=block and permission to edit and start a VM instance.


How to mitigate CVE-2026-34177

Install security update from vendor's website.

Sources