{
  "id": "CVE-2026-34179",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34179",
  "published_at": "2026-04-09T09:22:14.693Z",
  "title": "Update of type field in restricted TLS certificate allows privilege escalation to cluster admin",
  "vendor": "Canonical",
  "product": "lxd",
  "cvss": {
    "score": 9.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-915",
  "cpes": [
    "cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Canonical",
        "product": "lxd",
        "ranges": [
          "\u003e= 4.12.0, \u003c 5.0.7",
          "\u003e= 5.1.0, \u003c 5.21.5",
          "\u003e= 6.0.0, \u003c 6.8.0"
        ],
        "fixed_in": [
          "5.0.7",
          "5.21.5",
          "6.8.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade lxd to 5.0.7 or 5.21.5 or 6.8.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/canonical/lxd/pull/17936"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
