CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://github.com/canonical","defaultStatus":"unaffected","packageName":"lxd","platforms":["Linux"],"product":"lxd","programFiles":["permissions.go"],"repo":"https://github.com/canonical/lxd","vendor":"Canonical","versions":[{"lessThan":"5.0.7","status":"affected","version":"4.12.0","versionType":"semver"},{"lessThan":"5.21.5","status":"affected","version":"5.1.0","versionType":"semver"},{"lessThan":"6.8.0","status":"affected","version":"6.0.0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-915","description":"CWE-915 Improperly controlled modification of Dynamically-Determined object attributes","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Improve validation on certificate edit","tags":["patch","issue-tracking"],"url":"https://github.com/canonical/lxd/pull/17936"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/cna/references/1
{"name":"Update of type field in restricted TLS certificate allows privilege escalation to cluster admin","tags":["vdb-entry","vendor-advisory"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:24bc84fdfc427f2ccac6f28884fd7076652fc0ec03bed65af885de58fbe5719b · sha256:abfe9e2d5e631c19… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.