All vulnerabilities

Servers and applications

GHSA-mmh3-jfjc-6vc2

Images and instance configuration can inject container runtime configuration and bypass project restrictions

Severity
Critical 9.9
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

The directory of a container is both its storage volume and the location where liblxc looks for a configuration file of its own. Incus never creates that file, but an image or backup could ship one at the top level of the volume, and liblxc then loaded it as the container's configuration.

Separately, the checks enforcing project restrictions on profile and instance updates looked the object up again by name and silently passed when it was no longer found, so renaming the object around the update skipped the check. Rewriting instances after a custom volume rename or a profile update also wrote back a stale copy of each instance, reverting a concurrent change.

Two configuration values were passed through without validation. The security.syscalls.allow and security.syscalls.deny lists were copied as is into the container's seccomp policy, and volatile..hwaddr, which restricted projects may set, was written as is into the DHCP host file of the bridge.

From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

There is no workaround for the image issue other than only letting trusted users create containers, or only allowing virtual machines in untrusted projects (limits.containers=0). The race based issues can be avoided by not giving untrusted users edit access to profiles.

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,771GitHub, 29 Nov 2026
Forks
535GitHub, 29 Nov 2026
Latest release
v7.7.0GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Developer
Linux ContainersWikidata
License
Apache License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References