Vulnerability in Canonical Lxd
CVE-2026-34179
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.
Vulnerability class: Mass Assignment
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 20.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Canonical Lxd — versions 4.12.0, 5.1.0, 6.0.0
Weakness classification (CWE)
References
- Update of type field in restricted TLS certificate allows privilege escalation to cluster admin (vendor-advisory, Exploit, Third Party Advisory, vdb-entry)
- Improve validation on certificate edit (issue-tracking, Patch, patch, Issue Tracking)