CVE-2026-130786 Incus before 7.6.0 LXC Configuration Injection via OCI Image Config
- Exploited in the wild
- Not known
- Fix
- 7.6.0
What is CVE-2026-130786?
CVE-2026-130786 is a critical vulnerability in lxc incus, published on 18 Nov 2026.
Official description
Incus before 7.6.0 contains a configuration injection vulnerability that allows users who can launch instances from controlled images to inject LXC directives by embedding line breaks in OCI config.json values or oci.entrypoint and oci.cwd keys. Attackers can add liblxc hooks or crafted tmpfs lxc.mount.entry fields to run commands as root on the host or bind-mount host paths, even from restricted projects.
Weakness: CWE-74
Which versions are affected by CVE-2026-130786?
1 open source package ship an affected version, including github.com/lxc/incus/v7/cmd/incusd.
| Package | Affected | Fixed in |
|---|---|---|
github.com/lxc/incus/v7/cmd/incusd Gopkg:golang/github.com/lxc/incus/v7/cmd/incusd | All versions | 7.6.0 |
How do I fix CVE-2026-130786?
Upgrade github.com/lxc/incus/v7/cmd/incusd to 7.6.0 or later.
Is CVE-2026-130786 being exploited?
There is no known exploitation of CVE-2026-130786 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-130786, GHSA-3wxw-5gh2-j2x2, GHSA-62mw-4pw9-3hfc, UBUNTU-CVE-2026-130786.