9.1Critical

CVE-2026-34179Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

Canonical lxd Published: (7 months ago)

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.

Weakness (CWE): CWE-915

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Canonical lxd 4.12.0 – < 5.0.7, 5.1.0 – < 5.21.5, 6.0.0 – < 6.8.0

References and patches

CPE matches (NVD) (3)

  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* ≥ 4.12 ≤ 5.0.6
  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* ≥ 5.21.0 ≤ 5.21.4
  • cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:* ≥ 6.0 ≤ 6.7