CVE-2026-48751: LXC Incus arbitrary command execution via snapshot restoration bypass

CVE-2026-48751 · Severity: critical · CVSS 9.9 · Published 2026-08-21

Incus, a container and virtual machine management tool, contains a security flaw where restricted project settings are ignored during the restoration of instance snapshots. This allows a user with limited access to bypass security boundaries and execute commands with administrative (root) privileges on the host server. An attacker could use this to take full control of the server, access sensitive data, or disrupt operations.

Technologies: github.com/lxc/incus (Go), github.com/lxc/incus/v6 (Go), github.com/lxc/incus/v7 (Go), github.com/lxc/incus/v7/cmd/incusd (Go). Vendors: Go.

Quick answers

Is CVE-2026-48751 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-48751 being exploited in the wild.
How severe is CVE-2026-48751?
Critical severity, with a CVSS score of 9.9, published 21 August 2026.
Which products and versions are affected?
github.com/lxc/incus (Go) SEMVER:introduced=0; github.com/lxc/incus/v6 (Go) SEMVER:introduced=0; github.com/lxc/incus/v7 (Go) SEMVER:introduced=0,fixed=7.2.0; github.com/lxc/incus/v7/cmd/incusd (Go) < 7.2.0, SEMVER:introduced=0,fixed=7.2.0.
Is there a fix for CVE-2026-48751?
Yes. github.com/lxc/incus/v7 (Go): upgrade to 7.2.0 or later; github.com/lxc/incus/v7/cmd/incusd (Go): upgrade to 7.2.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-48751 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-48751?
Check whether you run github.com/lxc/incus (Go), github.com/lxc/incus/v6 (Go), github.com/lxc/incus/v7 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/lxc/incus/v7 (Go): upgrade to 7.2.0 or later
    go get github.com/lxc/incus/v7@v7.2.0
  • github.com/lxc/incus/v7/cmd/incusd (Go): upgrade to 7.2.0 or later
    go get github.com/lxc/incus/v7/cmd/incusd@v7.2.0

Technical details

A vulnerability in Incus allows for a restricted project bypass leading to arbitrary command execution. The root cause is that instance snapshots fail to honor the 'restricted.containers.lowlevel=block' configuration setting. An attacker with low privileges can craft a malicious instance with low-level hooks (such as raw.lxc or raw.qemu) in an unrestricted environment, create a snapshot, and then move and restore that snapshot within a restricted project. Upon starting the restored instance, the low-level hooks execute on the host with root privileges. This issue is addressed in Incus version 7.2.0.

Affected products

  • LXC Incus < 7.2.0

Identifiers

  • CVE-2026-48751
  • GHSA-48q5-w887-33wv
  • GO-2026-5799

Timeline

  • 2026-06-25: disclosed
  • 2026-06-26: advisory
  • 2026-06-26: patched: Fixed in version 7.2.0

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.