Improper access control in LXD - #VU125583

 

Improper access control in LXD - #VU125583

Published: December 5, 2023 / Updated: April 9, 2026


Vulnerability identifier: #VU125583
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to escalate privileges.

The vulnerability exists due to improper access control in disk device configuration validation when creating a disk device with shift=true in a restricted project without restricted.devices.disk.paths set. A remote user can create a disk device with shift=true and a setuid root executable to escalate privileges.

The issue occurs in projects configured with restricted=true and restricted.devices.disk=allow.


Affected software

LXD

Remediation

Install security update from vendor's website.

LXD - update to 5.20

External References

Related Security Bulletins