{"id":"CVE-2026-34179","published":"2026-04-09T09:22:14Z","modified":"2026-04-09T11:54:18Z","title":"Update of type field in restricted TLS certificate allows privilege escalation to cluster admin","vendor":"Canonical","product":"lxd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00467,"percentile":0.3254,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5","tags":["vdb-entry","vendor-advisory"]},{"url":"https://github.com/canonical/lxd/pull/17936","tags":["patch","issue-tracking"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":6.51},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"lxd","versions":[">= 4.12.0, < 5.0.7",">= 5.1.0, < 5.21.5",">= 6.0.0, < 6.8.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-09T11:54:14.860013Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/canonical/lxd","vulnerableRanges":[">=0.0.0-20210305023314-538ac3df036e, <=0.0.0-20260226085519-736f34afb267","all versions"],"patched":[],"from":["GHSA-c3h3-89qf-jqm5","GO-2026-5306"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-20876","exploited":false,"provenance":"source"}}