CVE-2025-64507Incus vulnerable to local privilege escalation through custom storage volumes
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.
What to do
Fixed builds are available from Alpine, Debian, Go: see the table below for the fixed version per release.
Debian, Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | incus | Fix pending | UBUNTU-CVE-2025-64507 | |
| Ubuntu 25.10 | incus | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-64507 | |
| Ubuntu 24.04 | incus | Fix pending | UBUNTU-CVE-2025-64507 | |
| Debian 14 | incus | Fixed | 6.0.5-4 | DEBIAN-CVE-2025-64507 |
| Debian 13 | incus | Fixed | 6.0.4-2+deb13u2 | DEBIAN-CVE-2025-64507 |
| Debian 13 | lxd | Fixed | 5.0.2+git20231211.1364ae4-9+deb13u2 | DEBIAN-CVE-2025-64507 |
| Debian 12 | lxd | Fix pending | DEBIAN-CVE-2025-64507 | |
| Alpine Linux 3.24 | incus | Fixed | 6.0.6-r0 | ALPINE-CVE-2025-64507 |
| Alpine Linux 3.23 | incus | Fixed | 6.0.6-r0 | ALPINE-CVE-2025-64507 |
| Go library | github.com/lxc/incus | Fix pending | GO-2025-4115 | |
| Go library | github.com/lxc/incus/v6 | Fixed | 6.19.0 | GHSA-56mx-8g9f-5crf |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- lxc incus: affected: < 6.0.6, >= 6.1.0, < 6.19.0
References
- https://github.com/lxc/incus/security/advisories/GHSA-56mx-8g9f-5crf
- https://github.com/lxc/incus/issues/2641
- https://github.com/lxc/incus/pull/2642
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.