CVE-2026-34179 Details
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.
A vulnerability in Canonical LXD versions 4.12 through 6.7 allows remote authenticated attackers to escalate privileges to cluster admin. The issue arises in the 'doCertificateUpdate' function, which fails to properly validate the 'Type' field when processing PUT/PATCH requests to '/1.0/certificates/{fingerprint}' for users with restricted TLS certificates. This oversight enables attackers to manipulate certificate types, bypassing authorization controls and gaining elevated privileges.
Users can update to LXD versions 5.0.7, 5.21.5, 6.8, or 4.0.10.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5 | CISA-ADP | ExploitThird Party Advisory |
| https://github.com/canonical/lxd/pull/17936 | [email protected] | Issue TrackingPatch |
| https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical lxd | >= 4.12, <= 5.0.6 >= 5.21.0, <= 5.21.4 >= 6.0, <= 6.7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 22, 2026 | Initial Analysis | [email protected] |
| Apr 9, 2026 | CVE Modified | CISA-ADP |
| Apr 9, 2026 | New CVE Received | [email protected] |