Skip to content

CVE-2025-64507 Incus vulnerable to local privilege escalation through custom storage volumes

HighCVSS 8.6 EPSS 0.18%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

Description

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.

Upgrade path

11 packages: 6 fixed, 1 partially fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
debian/lxd(Debian 12) = 5.0.2+git20231211.1364ae4-1; = 5.0.2+git20231211.1364ae4-2; = 5.0.2+git20231211.1364ae4-3; = 5.0.2+git20231211.1364ae4-4 +14 more No fix listed No fix yet
ubuntu/incus(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/incus(Ubuntu 26.04) All versions No fix listed No fix yet
lxc incus(Go) < 6.19.0; <= 6.18.0; >= 6.1.0; All versions 6.19.0 Partially fixed
alpine/incus(Alpine v3.23) < 6.0.6-r0 6.0.6-r0 Fixed
alpine/incus(Alpine v3.24) < 6.0.6-r0 6.0.6-r0 Fixed
debian/incus(Debian 13) < 6.0.4-2+deb13u2; = 6.0.4-2; = 6.0.4-2+deb13u1; = 6.0.4-2+deb13u1~bpo12+1 +1 more 6.0.4-2+deb13u2 Fixed
debian/incus(Debian 14) < 6.0.5-4; = 6.0.4-2; = 6.0.4-3; = 6.0.5-1 +2 more 6.0.5-4 Fixed
debian/lxd(Debian 13) < 5.0.2+git20231211.1364ae4-9+deb13u2; = 5.0.2+git20231211.1364ae4-9; = 5.0.2+git20231211.1364ae4-9+deb13u1 5.0.2+git20231211.1364ae4-9+deb13u2 Fixed
linuxcontainers incus < 6.0.6; >= 6.1.0, < 6.19.0 6.0.6, 6.19.0 Fixed
lxc incus = < 6.0.6; = >= 6.1.0, < 6.19.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
lxc incus(Go) < 6.19.0 6.19.0
lxc incus(Go) All versions No fix listed
lxc incus(Go) >= 6.1.0 No fix listed
debian/incus(Debian:13) < 6.0.4-2+deb13u2 6.0.4-2+deb13u2
debian/incus(Debian:13) = 6.0.4-2 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u1~bpo12+1 No fix listed
debian/incus(Debian:13) = 6.0.4-2+deb13u2~bpo12+1 No fix listed
debian/incus(Debian:14) < 6.0.5-4 6.0.5-4
debian/incus(Debian:14) = 6.0.4-2 No fix listed
debian/incus(Debian:14) = 6.0.4-3 No fix listed
debian/incus(Debian:14) = 6.0.5-1 No fix listed
debian/incus(Debian:14) = 6.0.5-2 No fix listed
debian/incus(Debian:14) = 6.0.5-3 No fix listed
debian/lxd(Debian:12) All versions No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-1 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-2 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-3 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-4 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-5 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-6 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-7 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-8 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:12) = 5.0.2-5 No fix listed
Show 19 more
ProductAffected versionsFixed in
debian/lxd(Debian:12) = 5.0.2-5+deb12u1 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u2 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u3 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u4 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u5 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u6 No fix listed
debian/lxd(Debian:12) = 5.0.2-6 No fix listed
debian/lxd(Debian:13) < 5.0.2+git20231211.1364ae4-9+deb13u2 5.0.2+git20231211.1364ae4-9+deb13u2
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u1 No fix listed
lxc incus(Go) <= 6.18.0 No fix listed
lxc incus = < 6.0.6 No fix listed
lxc incus = >= 6.1.0, < 6.19.0 No fix listed
ubuntu/incus(Ubuntu:24.04) All versions No fix listed
ubuntu/incus(Ubuntu:26.04) All versions No fix listed
linuxcontainers incus < 6.0.6 6.0.6
linuxcontainers incus >= 6.1.0, < 6.19.0 6.19.0
alpine/incus(Alpine:v3.23) < 6.0.6-r0 6.0.6-r0
alpine/incus(Alpine:v3.24) < 6.0.6-r0 6.0.6-r0

References