Skip to content
Heist/ feed
Back to feed
Critical

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-34179
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 14:05 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 9 Apr 2026, 09:22 UTC

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.

osv:CVE-2026-34179
Complete source record
{
  "id": "a4b98494c124067463e2b4c7f2933f5c4bea6e22f74a1449aebcc9c88231438b",
  "url": "https://osv.dev/vulnerability/CVE-2026-34179",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Update of type field in restricted TLS certificate allows privilege escalation to cluster admin",
    "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.",
    "evidence": "osv:CVE-2026-34179",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-34179",
      "aliases": [
        "CVE-2026-34179",
        "GHSA-c3h3-89qf-jqm5",
        "GO-2026-5306"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/canonical/lxd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7b1f0b6acefa288398ead8dda48b046d7b2795a3"
                },
                {
                  "fixed": "c5184be310b13a8be5d9a5f286bfa1c0c286716e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "4.12.0"
                      },
                      {
                        "fixed": "5.0.7"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "introduced": "5.1.0"
                      },
                      {
                        "fixed": "5.21.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "lxd-5.17",
            "lxd-5.16",
            "lxd-5.15",
            "lxd-5.14",
            "lxd-5.13",
            "lxd-5.12",
            "lxd-5.11",
            "lxd-5.0.2",
            "lxd-5.10",
            "lxd-5.9",
            "lxd-5.8",
            "lxd-5.7",
            "lxd-5.6",
            "lxd-5.5",
            "lxd-5.0.1",
            "lxd-5.4",
            "lxd-5.3",
            "lxd-5.2",
            "lxd-5.1",
            "lxd-5.0.0",
            "lxd-4.24",
            "lxd-4.23",
            "lxd-4.22",
            "lxd-4.21",
            "lxd-4.20",
            "lxd-4.19",
            "lxd-4.18",
            "lxd-4.17",
            "lxd-4.16",
            "lxd-4.15",
            "lxd-4.14",
            "lxd-4.13",
            "lxd-4.12",
            "lxd-4.11",
            "lxd-4.10",
            "lxd-4.9",
            "lxd-4.8",
            "lxd-4.7",
            "lxd-4.6",
            "lxd-4.5",
            "lxd-4.4",
            "lxd-4.3",
            "lxd-4.2",
            "lxd-4.1",
            "lxd-4.0.0",
            "lxd-3.23",
            "lxd-3.22",
            "lxd-3.21",
            "lxd-3.20",
            "lxd-3.19",
            "lxd-3.18",
            "lxd-3.17",
            "lxd-3.16",
            "lxd-3.15",
            "lxd-3.14",
            "lxd-3.13",
            "lxd-3.12",
            "lxd-3.11",
            "lxd-3.10",
            "lxd-3.9",
            "lxd-3.8",
            "lxd-3.7",
            "lxd-3.6",
            "lxd-3.5",
            "lxd-3.4",
            "lxd-3.3",
            "lxd-3.2",
            "lxd-3.1",
            "lxd-3.0.0",
            "lxd-3.0.0.beta7",
            "lxd-3.0.0.beta6",
            "lxd-3.0.0.beta5",
            "lxd-3.0.0.beta4",
            "lxd-3.0.0.beta3",
            "lxd-3.0.0.beta2",
            "lxd-3.0.0.beta1",
            "lxd-2.21",
            "lxd-2.20",
            "lxd-2.19",
            "lxd-2.18",
            "lxd-2.17",
            "lxd-2.16",
            "lxd-2.15",
            "lxd-2.14",
            "lxd-2.13",
            "lxd-2.12",
            "lxd-2.11",
            "lxd-2.10.1",
            "lxd-2.10",
            "lxd-2.9.3",
            "lxd-2.9.2",
            "lxd-2.9.1",
            "lxd-2.9",
            "lxd-2.8",
            "lxd-2.7",
            "lxd-2.6.2",
            "lxd-2.6.1",
            "lxd-2.6",
            "lxd-2.5",
            "lxd-2.4.1",
            "lxd-2.4",
            "lxd-2.3",
            "lxd-2.2",
            "lxd-2.1",
            "lxd-2.0.0",
            "lxd-2.0.0.rc9",
            "lxd-2.0.0.rc8",
            "lxd-2.0.0.rc7",
            "lxd-2.0.0.rc6",
            "lxd-2.0.0.rc5",
            "lxd-2.0.0.rc4",
            "lxd-2.0.0.rc3",
            "lxd-2.0.0.rc2",
            "lxd-2.0.0.rc1",
            "lxd-2.0.0.beta4",
            "lxd-2.0.0.beta3",
            "lxd-2.0.0.beta2",
            "lxd-2.0.0.beta1",
            "lxd-0.27",
            "lxd-0.26",
            "lxd-0.25",
            "lxd-0.24",
            "lxd-0.23",
            "lxd-0.22",
            "lxd-0.21",
            "lxd-0.20",
            "lxd-0.19",
            "lxd-0.18",
            "lxd-0.17",
            "lxd-0.16",
            "lxd-0.15",
            "lxd-0.14",
            "lxd-0.13",
            "lxd-0.12",
            "lxd-0.11",
            "lxd-0.10",
            "lxd-0.9",
            "lxd-0.8.1",
            "lxd-0.8",
            "lxd-0.7",
            "lxd-0.6",
            "lxd-0.5",
            "lxd-0.4",
            "lxd-0.3",
            "lxd-0.2",
            "lxd-0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34179.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.414648816Z",
      "provider": "osv",
      "references": [
        "https://github.com/canonical",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34179.json",
        "https://github.com/canonical/lxd/security/advisories/GHSA-c3h3-89qf-jqm5",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34179",
        "https://github.com/canonical/lxd/pull/17936",
        "https://github.com/canonical/lxd"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-915"
        ],
        "cna_assigner": "canonical",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.0.0"
                  },
                  {
                    "fixed": "6.8.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34179.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34179",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496221,
  "published_at": "2026-04-09T09:22:14.693+00:00"
}