CVE-2026-34179Published Apr 9, 2026 · Apr 9Updated Oct 28
Update of type field in restricted TLS certificate allows privilege escalation to cluster admin
Canonical lxd
Critical9.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/canonical/lxd Go |
| No fix yet |
Original 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.
From the CVE record · canonical