Skip to content
Heist/ feed
Back to feed
High

Incus vulnerable to local privilege escalation through custom storage volumes

Type: advisorySources: OSV

Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-64507
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 12:01 UTC · Revision 1

Source evidence

Incus vulnerable to local privilege escalation through custom storage volumes

core-osv · Original source

Published 10 Nov 2025, 21:56 UTC

Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.

osv:CVE-2025-64507
Complete source record
{
  "id": "7b6d3b6416321580871d8d05aa692ec5b945215cecbe59a0a2ba9438ad605e7f",
  "url": "https://osv.dev/vulnerability/CVE-2025-64507",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Incus vulnerable to local privilege escalation through custom storage volumes",
    "summary": "Incus is a system container and virtual machine manager. An issue in versions prior to 6.0.6 and 6.19.0 affects any Incus user in an environment where an unprivileged user may have root access to a container with an attached custom storage volume that has the `security.shifted` property set to `true` as well as access to the host as an unprivileged user. The most common case for this would be systems using `incus-user` with the less privileged `incus` group to provide unprivileged users with an isolated restricted access to Incus. Such users may be able to create a custom storage volume with the necessary property (depending on kernel and filesystem support) and can then write a setuid binary from within the container which can be executed as an unprivileged user on the host to gain root privileges. A patch for this issue is expected in versions 6.0.6 and 6.19.0. As a workaround, permissions can be manually restricted until a patched version of Incus is deployed.",
    "evidence": "osv:CVE-2025-64507",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-64507",
      "aliases": [
        "CVE-2025-64507",
        "GHSA-56mx-8g9f-5crf",
        "GO-2025-4115"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/lxc/incus",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5231e7a1beca905d57208b441040f9ebdc6a2c6f"
                },
                {
                  "introduced": "38d0bc57d4ae8926b0adfad475f2d4ca70a1c734"
                },
                {
                  "fixed": "b19f4195c0f5cbe82444b119a8c4ff5c8f6443ec"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.0.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "6.1.0"
                      },
                      {
                        "fixed": "6.19.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.0.5",
            "v6.18.0",
            "v6.17.0",
            "v6.16.0",
            "v6.0.4",
            "v6.14.0",
            "v6.15.0",
            "v6.13.0",
            "v6.12.0",
            "v6.11.0",
            "v6.10.1",
            "v6.10.0",
            "v6.9.0",
            "v6.0.3",
            "v6.8.0",
            "v6.7.0",
            "v6.6.0",
            "v6.0.2",
            "v6.5.0",
            "v6.4.0",
            "v6.3.0",
            "v6.0.1",
            "v6.2.0",
            "v6.0.0",
            "v6.1.0",
            "v0.7.0",
            "v0.6.0",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-64507.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.205446802Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64507.json",
        "https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-64507",
        "https://github.com/lxc/incus/issues/2641",
        "https://github.com/lxc/incus/pull/2642"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-269"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64507.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-64507",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502246,
  "published_at": "2025-11-10T21:56:26.578+00:00"
}