Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/canonical/lxd
  4. ›
  5. CVE-2026-34179

CVE-2026-34179: LXD: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

April 10, 2026

A restricted TLS certificate user can escalate to cluster admin by changing their certificate type from client to server via PUT/PATCH to /1.0/certificates/{fingerprint}. The non-admin guard and reset block in doCertificateUpdate fail to validate or reset the Type field, allowing a caller-supplied value to persist to the database. The modified certificate is matched as a server certificate during TLS authentication, granting ProtocolCluster with full admin privileges.

References

  • github.com/advisories/GHSA-c3h3-89qf-jqm5
  • github.com/canonical/lxd
  • github.com/canonical/lxd/pull/17936
  • github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5
  • nvd.nist.gov/vuln/detail/CVE-2026-34179

Code Behaviors & Features

Detect and mitigate CVE-2026-34179 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.0.0-20210305023314-538ac3df036e up to 0.0.0-20260226085519-736f34afb267

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

go/github.com/canonical/lxd/CVE-2026-34179.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:41 +0000.