CVE catalog

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}

[CVE catalog]

Severity
Critical · CVSS 9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.27% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlxdtrixie5.0.2+git20231211.1364ae4-9+deb13u7fixed
Debianlxdtrixie-security5.0.2+git20231211.1364ae4-9+deb13u7fixed
Debianlxdbookworm5.0.2-5+deb12u6vulnerable
Debianlxdbookworm-security5.0.2-5+deb12u6vulnerable
CpelxdNot reportedNot reportedvulnerable
CpelxdNot reportedNot reportedunknown
Gogithub.com/canonical/lxdNot reportedNot reportedunknown
CpelxdNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlxdsourcetrixie5.0.2+git20231211.1364ae4-9+deb13u5not yet assignedNot reportedNot reported
Debianlxdsourcebookworm(unfixed)end-of-lifeNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [lxd]Affected
    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-agent]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-client]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-migrate]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

  • [lxd-tools]Affected

    Source package: [lxd]

    Details (4)
    • 5.0.2-5+deb12u6 · amd64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · amd64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

    • 5.0.2-5+deb12u6 · arm64 · bookworm-security

      Affected

      nvd · lxd · debian · bookworm; nvd · lxd · debian · 12

[Debian 13 (Trixie)]

  • Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · all · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · all · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · all · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · all · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · all · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · all · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · all · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • [incus]Fixed
    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • [incus-base]Fixed

    Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • Source package: [incus]

    Details (7)
    • 6.0.4-2+deb13u8 · amd64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u8 · arm64 · trixie

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 7.0.1-2~bpo13+1 · arm64 · trixie-backports

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u11 · amd64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

    • 6.0.4-2+deb13u9 · arm64 · trixie-security

      Fixed · Fixed: 6.0.4-2+deb13u6

      nvd · incus · debian · 13

  • [lxd]Fixed
    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

  • [lxd-agent]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

  • [lxd-client]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

  • Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

  • [lxd-tools]Fixed

    Source package: [lxd]

    Details (4)
    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · amd64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

    • 5.0.2+git20231211.1364ae4-9+deb13u7 · arm64 · trixie-security

      Fixed · Fixed: 5.0.2+git20231211.1364ae4-9+deb13u5

      nvd · lxd · debian · 13

Observed:

References