Skip to main content
CVE-2024-6219VulnerabilityPublished Updated

CVE-2024-6219: github.com/canonical/lxd · lxd has a restricted TLS certificate privilege escalation when in PKI mode

Affects github.com/canonical/lxdSource GCVE Database

0

Not known to be exploited · CVSS 3.8 Low : upgrade to 0.0.0-20240403103450-0e7f2b5bf4d2 when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
3.8Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.0.0-20240403103450-0e7f2b5bf4d2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Upgrade github.com/canonical/lxd to 0.0.0-20240403103450-0e7f2b5bf4d2.

Affected software

ProductAffectedFixed in
Gogithub.com/canonical/lxdAffected
  • <0.0.0-20240403103450-0e7f2b5bf4d2
Fixed in
  • 0.0.0-20240403103450-0e7f2b5bf4d2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should verify their LXD configuration, especially the core.trust_ca_certificates setting, and avoid running LXD in PKI mode with core.trust_ca_certificates set to false. The vendor has applied a partial fix for the case when core.trust_ca_certificates is true, but the false case remains unaddressed.

Description

LXD in PKI mode with a server.ca file present does not honor restrictions on TLS client certificates when the core.trust_ca_certificates option is set to false. This allows clients with restricted certificates to gain full access to LXD, bypassing intended privilege limitations. The issue arises from a logic flaw in how certificate restrictions are enforced in PKI mode. The vulnerability is considered low impact because PKI mode is not the default and users enabling it typically enable core.trust_ca_certificates, which grants full access to all CA-signed clients anyway.

References

Community reviews

Loading reviews…