Skip to main content
← All vulnerabilities
CVE-2026-34179GO-2026-5306GHSA-C3H3-89QF-JQM5

Update of type field in restricted TLS certificate allows privilege escalation to cluster admin

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.0.7, 5.21.5, 6.8.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • lxd

    From 4.12.0 · fixed in 5.0.7; From 5.1.0 · fixed in 5.21.5; From 6.0.0 · fixed in 6.8.0

  • github.com/canonical/lxdGo

    All versions

  • github.com/canonical/lxdGo

    From 0.0.0-20210305023314-538ac3df036e · through 0.0.0-20260226085519-736f34afb267

References 2

GitHub · canonical/lxd