| Name | CVE-2026-34179 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6212-1, DSA-6213-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| incus (PTS) | trixie | 6.0.4-2+deb13u4 | vulnerable |
| trixie (security) | 6.0.4-2+deb13u6 | fixed | |
| forky, sid | 6.0.6-3 | fixed | |
| lxd (PTS) | bookworm | 5.0.2-5+deb12u2 | vulnerable |
| bookworm (security) | 5.0.2-5+deb12u5 | fixed | |
| trixie | 5.0.2+git20231211.1364ae4-9+deb13u3 | vulnerable | |
| trixie (security) | 5.0.2+git20231211.1364ae4-9+deb13u5 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| incus | source | trixie | 6.0.4-2+deb13u6 | DSA-6212-1 | ||
| incus | source | (unstable) | 6.0.6-3 | |||
| lxd | source | bookworm | 5.0.2-5+deb12u5 | DSA-6213-1 | ||
| lxd | source | trixie | 5.0.2+git20231211.1364ae4-9+deb13u5 | DSA-6213-1 | ||
| lxd | source | (unstable) | (unfixed) |
https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5
https://github.com/canonical/lxd/pull/17936
https://github.com/canonical/lxd/commit/8c0c8dcc0f7b6ef59524bfeae198b6081248a88d
https://github.com/canonical/lxd/commit/5f4b8e20afa321e0be436a908a8a92b8b8700557
https://github.com/lxc/incus/pull/3068