# CVE-2024-6156: lxd CA certificate sign check bypass

- 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:11:04.815Z
- Modified: 2026-06-17T08:17:24.003Z
- Also known as: GHSA-4c49-9fpc-hc3v, GO-2024-3312
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: canonical

## Description

Mark Laing discovered that LXD's PKI mode, until version 5.21.2, could be bypassed if the client's certificate was present in the trust store.

(As written by CVE List.)

## Affected

- lxd: from 4.0 before 4.0.10; from 4.0 before 5.0.4; from 4.0 before 5.21.2; from 4.0 before 6.1
- canonical lxd: before 5.21.2; from 4.0.0 before 4.0.10; from 5.0.0 before 5.0.4; from 5.1 before 5.21.2
- github.com/canonical/lxd (Go): before 0.0.0-20240708073652-5a492a3f0036

## 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-4c49-9fpc-hc3v> (exploit, advisory, issue-tracking, vendor-advisory, web)
- <https://www.cve.org/CVERecord?id=CVE-2024-6156> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-6156> (advisory)
- <https://github.com/canonical/lxd/commit/92468bb60f4f1edf38ff0434414bea4f28afa711> (fix, web)
- <https://github.com/canonical/lxd> (package)
- <https://pkg.go.dev/vuln/GO-2024-3312> (web)

## Sources

- CVE List: [CVE-2024-6156](https://www.cve.org/CVERecord?id=CVE-2024-6156), CVE Terms of Use, modified 2025-03-18
- GitHub Advisory Database: [GHSA-4c49-9fpc-hc3v](https://github.com/advisories/GHSA-4c49-9fpc-hc3v), CC-BY-4.0, modified 2024-12-11
- Go Vulnerability Database: [GO-2024-3312](https://pkg.go.dev/vuln/GO-2024-3312), CC-BY-4.0, modified 2024-12-11
- NVD: [CVE-2024-6156](https://nvd.nist.gov/vuln/detail/CVE-2024-6156), Public domain, modified 2026-06-17

---

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