9.1Critical
CVE-2026-34179Update of type field in restricted TLS certificate allows privilege escalation to cluster admin
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.
Weakness (CWE):
CWE-915
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- Update of type field in restricted TLS certificate allows privilege escalation to cluster admin vdb-entryvendor-advisoryExploitThird Party Advisory
- Improve validation on certificate edit patchissue-trackingIssue TrackingPatch
CPE matches (NVD) (3)
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 4.12 ≤ 5.0.6cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 5.21.0 ≤ 5.21.4cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 6.0 ≤ 6.7