# CVE-2024-6219: lxd has a restricted TLS certificate privilege escalation when in PKI mode

- Severity: Low 3.8 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-05T23:13:19.635Z
- Modified: 2026-06-26T19:45:10.889Z
- Also known as: GHSA-jpmc-7p9c-4rxf, GO-2024-3313
- Weaknesses: CWE-287, CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: canonical

## Description

Mark Laing discovered in LXD's PKI mode, until version 5.21.1, that a restricted certificate could be added to the trust store with its restrictions not honoured.

(As written by CVE List.)

## Affected

- lxd: before 5.21.1
- github.com/canonical/lxd (Go): before 0.0.0-20240403103450-0e7f2b5bf4d2
- canonical lxd: before 5.21.1

## Every score

- canonical: CVSS:3.1 3.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.8 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-jpmc-7p9c-4rxf> (exploit, advisory, issue-tracking, vendor-advisory, web)
- <https://www.cve.org/CVERecord?id=CVE-2024-6219> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6219> (advisory)
- <https://github.com/canonical/lxd/pull/12313> (web)
- <https://github.com/canonical/lxd/commit/5cdc9a35b9c51e981b1e70330bde0413ccacc7fd> (fix, web)
- <https://github.com/canonical/lxd> (package)
- <https://pkg.go.dev/vuln/GO-2024-3313> (web)

## Sources

- CVE List: [CVE-2024-6219](https://www.cve.org/CVERecord?id=CVE-2024-6219), CVE Terms of Use, modified 2025-08-28
- GitHub Advisory Database: [GHSA-jpmc-7p9c-4rxf](https://github.com/advisories/GHSA-jpmc-7p9c-4rxf), CC-BY-4.0, modified 2026-06-26
- Go Vulnerability Database: [GO-2024-3313](https://pkg.go.dev/vuln/GO-2024-3313), CC-BY-4.0, modified 2024-12-11
- NVD: [CVE-2024-6219](https://nvd.nist.gov/vuln/detail/CVE-2024-6219), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6219 · Whole record: https://cve.day/CVE-2024-6219.json · Rebuilt by cve.day 2026-11-25T22:58:49.757Z
