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.
Metrics
CVSS 3.1 9.1/10
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Canonical | lxd | >= 4.12.0, < 5.0.7; >= 5.1.0, < 5.21.5; >= 6.0.0, < 6.8.0 |
References
- https://github.com/canonical/lxd/pull/17936Issue Tracking, Patch
- https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5Exploit, Third Party Advisory
- https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5Exploit, Third Party Advisory
Timeline
- Published
- Apr 9, 2026
- Last modified
- Oct 26, 2026
- NVD status
- Analyzed