{"id":"CVE-2025-64507","aliases":["GHSA-56mx-8g9f-5crf","GO-2025-4115"],"url":"https://o3.security/vulnerability/CVE-2025-64507","summary":"Incus vulnerable to local privilege escalation through custom storage volumes","details":"### Impact\nThis 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.\n\nThe 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 unpriivleged user on the host to gain root privileges.\n\n### Patches\nA patch for this issue is available here: https://github.com/lxc/incus/pull/2642\n\nThe first commit changes the permissions for any new storage pool, the second commit applies it on startup to all existing storage pools.\n\n### Workarounds\nPermissions can be manually restricted until a patched version of Incus is deployed.\n\nThis is done with:\n\n```\nchmod 0700 /var/lib/incus/storage-pools/*/*\nchmod 0711 /var/lib/incus/storage-pools/*/buckets*\nchmod 0711 /var/lib/incus/storage-pools/*/container*\n```\n\nThose are the same permissions which will be applied by the patched Incus for both new and existing storage pools.\n\n### References\nThis was reported publicly on Github by here: https://github.com/lxc/incus/issues/2641","published":"2025-11-10T21:56:26.578Z","modified":"2026-08-12T03:51:48.038213244Z","cvss":null,"epss":{"score":0.00167,"percentile":0.06382,"asOf":"2026-09-16"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/lxc/incus/v6","fixedVersion":"6.19.0"}],"fix":{"url":"https://github.com/lxc/incus/pull/2642","label":"lxc/incus#2642"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/64xxx/CVE-2025-64507.json"},{"type":"ADVISORY","url":"https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-64507"},{"type":"REPORT","url":"https://github.com/lxc/incus/issues/2641"},{"type":"FIX","url":"https://github.com/lxc/incus/pull/2642"},{"type":"PACKAGE","url":"https://github.com/lxc/incus"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:48.038213244Z"}}