Improper access control in LXD - CVE-2024-6219

 

Improper access control in LXD - CVE-2024-6219

Published: December 2, 2024 / Updated: April 9, 2026


Vulnerability identifier: #VU125581
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-6219
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 the LXD certificate authorization logic when processing restricted CA-signed client certificates in PKI mode. A remote user can present a restricted certificate to gain full access to LXD and escalate privileges.

The issue occurs when a server.ca file is present in LXD_DIR and restrictions on certificates in the trust store are ignored.


Affected software

LXD

How to mitigate CVE-2024-6219

Install security update from vendor's website.

LXD - update to 5.21.1

External References

Related Security Bulletins