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
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
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
- github.com/canonical/lxd/security/advisories/GHSA-jpmc-7p9c-4rxf (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-6219 (opens in a new tab)
- github.com/canonical/lxd/pull/12313 (opens in a new tab)
- github.com/canonical/lxd/commit/5cdc9a35b9c51e981b1e70330bde0413ccacc7fd (opens in a new tab)
- github.com/canonical/lxd (opens in a new tab)
- pkg.go.dev/vuln/GO-2024-3313 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-6219 (opens in a new tab)