Privilege escalation in Linuxcontainers Incus
CVE-2025-64507
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 7.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linuxcontainers Incus
- Lxc Incus — versions < 6.0.6, >= 6.1.0, < 6.19.0
Weakness classification (CWE)
References
- https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf (Exploit, Patch, Vendor Advisory)
- https://github.com/lxc/incus/issues/2641 (Exploit, Patch, Issue Tracking)
- https://github.com/lxc/incus/pull/2642 (Exploit, Patch, Issue Tracking)