CVE-2025-64507: Incus vulnerable to local privilege escalation through custom storage volumes
Impact This 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.
Published Nov 13, 2025 · Updated Mar 30, 2026
Affected packages
github.com/lxc/incus/v6
- Ecosystem
- Go
- Affected
- <= 6.18.0
- Fixed in
- 6.19.0
- Check
go list -m github.com/lxc/incus/v6
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
This 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 unpriivleged user on the host to gain root privileges.
Patches
A patch for this issue is available here: https://github.com/lxc/incus/pull/2642
The first commit changes the permissions for any new storage pool, the second commit applies it on startup to all existing storage pools.
Workarounds
Permissions can be manually restricted until a patched version of Incus is deployed.
This is done with:
chmod 0700 /var/lib/incus/storage-pools/*/*
chmod 0711 /var/lib/incus/storage-pools/*/buckets*
chmod 0711 /var/lib/incus/storage-pools/*/container*Those are the same permissions which will be applied by the patched Incus for both new and existing storage pools.
References
This was reported publicly on Github by here: https://github.com/lxc/incus/issues/2641
Credited to abdodz1234, stgraber, hallyn.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-55621
Incus has a project restriction bypass for custom volume copy across projects
high7.7No fixAug 28, 2026CVE-2026-33711
Incus vulnerable to local privilege escalation through VM screenshot path
medium4.7Mar 27, 2026CVE-2026-33743
Incus vulnerable to denial of source through crafted bucket backup file
medium6.5No fixMar 27, 2026CVE-2026-33897
Incus vulnerable to arbitrary file read and write through pongo templates
critical9.9No fixMar 27, 2026CVE-2026-33945
Incus has an abitrary file write through its systemd-creds options
critical9.9Mar 27, 2026CVE-2026-23953
Incus container environment configuration newline injection
high8.7Jan 22, 2026
