CVE-2026-34179
LXD: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin
9.1
CRITICAL
CVSS 3.1
EPSS 0.16%
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.
How to fix CVE-2026-34179
To remediate CVE-2026-34179, upgrade the affected package to a fixed version below.
- —upgrade to 6.0.4-2+deb13u6 or later
- —upgrade to 5.0.2-5+deb12u5 or later
- —no fix listed
Is CVE-2026-34179 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 6.0.4-2+deb13u6
- from 0, < 5.0.2-5+deb12u5
- >= 0.0.0-20210305023314-538ac3df036e, <= 0.0.0-20260226085519-736f34afb267
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |