CVE-2026-130786 is a critical configuration injection vulnerability in Incus before 7.6.0: a user who can launch instances from images they control can inject LXC directives and run commands as root on the host.
What Is It
CVE-2026-130786 is a configuration injection vulnerability (CWE-74) in Incus, the container and instance manager from the lxc project. The affected component is incusd (pkg:golang/github.com/lxc/incus/v7/cmd/incusd).
According to the NVD description, the flaw affects users who can launch instances from images they control. These users can add line breaks to values in an OCI image's config.json or to the oci.entrypoint and oci.cwd keys. Incus then reads the text after those line breaks as LXC configuration directives. An attacker can use this to:
- add liblxc hooks that run commands as root on the host, or
- write crafted tmpfs
lxc.mount.entryfields that bind-mount host paths into the instance.
The record states that this works even from restricted projects.
Why It Matters
VulnCheck, the CNA, rates the flaw CVSS v3.1 9.9 (CRITICAL) with the vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. That means it is reachable over the network, needs only low privileges and no user interaction, and has a changed scope. It also carries a CVSS v4.0 score of 9.4 (CRITICAL), with high impact on both the vulnerable system and subsequent systems.
A successful attacker can escape the container boundary and run commands as root on the host. Restricted projects are meant to limit what tenants can do, and the advisory says they do not stop this attack. Deployments that let less-trusted users launch instances from their own images are likely exposed.
No CISA Known Exploited Vulnerabilities (KEV) entry was supplied for this CVE, so this brief has no KEV confirmation of active exploitation. NVD lists the record's status as "Deferred."
What's Vulnerable
- Vendor/Product: lxc / Incus (
incusd) - Affected: all versions before 7.6.0 (semver range
0to<7.6.0) - Unaffected: 7.6.0
- Precondition: the attacker must be able to launch instances from images they control
Patch Status
The affected-version data lists Incus 7.6.0 as unaffected. Administrators should upgrade to Incus 7.6.0 or later. Until they can, they should review which users and projects are allowed to launch instances from custom or user-supplied OCI images, because restricted projects alone do not block this attack. For full details, see the project's GitHub security advisory (GHSA-3wxw-5gh2-j2x2).