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.
Affected products
canonical: lxd
References3
- github.com/canonical/lxd/pull/17936 Issue TrackingPatch
- github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5 ExploitThird Party Advisory
- github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5 ExploitThird Party Advisory
Metrics
- CVSS 3.1
-
9.1
CRITICAL
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H - EPSS — exploit probability
- 0% percentile: 20 · as of 12 November 2026
- CWE
- CWE-915
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.