# CVE-2026-34179: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

- Severity: Critical 9.1 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- 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.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-09T09:22:14.693Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-c3h3-89qf-jqm5, GO-2026-5306
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## Description

In Canonical LXD versions 4.12 through 6.7, the doCertificateUpdate function in lxd/certificates.go does not validate the Type field when handling PUT/PATCH requests to /1.0/certificates/{fingerprint} for restricted TLS certificate users, allowing a remote authenticated attacker to escalate privileges to cluster admin.

(As written by CVE List.)

## Affected

- lxd: from 4.12.0 before 5.0.7; from 5.1.0 before 5.21.5; from 6.0.0 before 6.8.0
- github.com/canonical/lxd (Go): from 0.0.0-20210305023314-538ac3df036e up to 0.0.0-20260226085519-736f34afb267; all versions
- canonical lxd: from 4.12 up to 5.0.6; from 5.21.0 up to 5.21.4; from 6.0 up to 6.7

## Every score

- canonical: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5> (exploit, advisory, third-party-advisory, vdb-entry, vendor-advisory, web)
- <https://github.com/canonical/lxd/pull/17936> (fix, issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34179> (advisory)
- <https://github.com/canonical/lxd> (package)

## Sources

- CVE List: [CVE-2026-34179](https://www.cve.org/CVERecord?id=CVE-2026-34179), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-c3h3-89qf-jqm5](https://github.com/advisories/GHSA-c3h3-89qf-jqm5), CC-BY-4.0, modified 2026-08-11
- Go Vulnerability Database: [GO-2026-5306](https://pkg.go.dev/vuln/GO-2026-5306), CC-BY-4.0, modified 2026-08-11
- NVD: [CVE-2026-34179](https://nvd.nist.gov/vuln/detail/CVE-2026-34179), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34179 · Whole record: https://cve.day/CVE-2026-34179.json · Rebuilt by cve.day 2026-11-25T22:59:18.366Z
