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.0: 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/E:U/U:Green
CVE-ID: CVE-2024-6219
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.

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.


How to mitigate CVE-2024-6219

Install security update from vendor's website.

Sources