CVE-2026-34179: Vulnerability in Canonical Lxd

Critical. 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.

Go, CWE-915

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.5 % in 30 days
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-c3h3-89qf-jqm5
EU ID
EUVD-2026-20876
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-915
Published
9 Apr 2026
Last change
26 Oct 2026
Likelihood rank
Higher than 33 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Go

Affected products

Affected versions and the first fixed release

  • Canonical Lxd From 4.12 through 5.0.6; From 5.21.0 through 5.21.4; From 6.0 through 6.7. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • github.com/canonical/lxd Go, Affected from 0.0.0-20210305023314-538ac3df036e through 0.0.0-20260226085519-736f34afb267. No fixed version recorded

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related