CVE-2025-64507
highpriority · track · 31EPSS 0.002 · 7 %ileEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.1–8.6
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (10)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-56mx-8g9f-5crfIncus vulnerable to local privilege escalation through custom storage volumes2025-11-13ghsa · osvUS
### 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
- GO-2025-4115Incus vulnerable to local privilege escalation through custom storage volumes in github.com/lxc/incus2025-11-17vendor · osvUS
Incus vulnerable to local privilege escalation through custom storage volumes in github.com/lxc/incus
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://github.com/lxc/incus/issues/2641cnnvd
- https://github.com/lxc/incus/pull/2642cnnvd
- https://github.com/lxc/incus/releasesPatchcnnvd
- https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crfcnnvd
- https://vigilance.fr/vulnerability/Incus-privilege-escalation-via-incus-user-48695cnnvd
- https://github.com/lxc/incus/issues/2641enisa_euvd
- https://github.com/lxc/incus/pull/2642enisa_euvd
- https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crfenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan