{"id":"GHSA-56mx-8g9f-5crf","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","aliases":["CVE-2025-64507","GO-2025-4115"],"modified":"2026-03-30T14:05:10.918627Z","published":"2025-11-13T16:04:55Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-11-13T16:04:55Z","nvd_published_at":"2025-11-10T22:15:39Z","cwe_ids":["CWE-269"],"severity":"HIGH"},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/lxc/incus/issues/2641"},{"type":"WEB","url":"https://github.com/lxc/incus/pull/2642"},{"type":"PACKAGE","url":"https://github.com/lxc/incus"}],"affected":[{"package":{"name":"github.com/lxc/incus/v6","ecosystem":"Go","purl":"pkg:golang/github.com/lxc/incus/v6"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.19.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 6.18.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-56mx-8g9f-5crf/GHSA-56mx-8g9f-5crf.json"}}],"schema_version":"1.9.0","severity":[{"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"}]}