CVE-2026-130786 — Lxc INCUS
CRITICALCVE-2026-130786 is a critical-severity (CVSS 9.9) CWE-74 vulnerability in lxc incus. A fix is available — see the affected versions and patch details below.
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…
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.
Affected Products
incuslxcDetection & mitigation playbook
Vendor / applianceDetect
Inventory every lxc incus deployment and check each version against the affected-products list above.
Fix
Apply the lxc incus security patch or hotfix for CVE-2026-130786 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-130786 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.