Update of type field in restricted TLS certificate allows privilege escalation to cluster admin (Canonical lxd)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.27 % Β· percentile 20 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- canonical
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-915 β Improperly Controlled Modification of Dynamically-Determined Object Attributes
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | canonical |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | NVD Β· security@ubuntu.com (Secondary) |
Advisories
- GHSA-c3h3-89qf-jqm5 β LXD: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin
- GO-2026-5306 β Type field in restricted TLS certificate allows privilege escalation in github.com/canonical/lxd
European references
- ENISA EUVD Β· EUVD-2026-20876
- GCVE Β· GCVE-0-2026-34179
Affected configurations (NVD CPE)
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
Affected products
| Product | Versions |
|---|---|
| Canonical Β· lxd | affected 4.12.0 < 5.0.7 ; affected 5.1.0 < 5.21.5 ; affected 6.0.0 < 6.8.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |