All vulnerabilities

Servers and applications

GHSA-p8fx-6xxm-25wh

Local users can gain root on the host through transfer sockets, instance directories and disk staging mounts

Severity
High 8.8
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Incorrect permissions on a critical resource (CWE-732)
Attack
Needs local access · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Several places where the daemon and its helpers act as root on the host trusted things that a local, unprivileged user controls.

While an instance or volume is transferred with rsync, the sending side waits for its own helper on an abstract unix socket and takes the first connection it gets, without looking at who connected.

Proxy devices that listen on a unix socket on the host set the socket's owner and mode by path after creating it, and the AppArmor profile generated for the proxy resolves both socket paths on the host and writes the result into the profile as is.

The directory holding a container on the storage pool is what keeps local users away from the setuid files inside its root filesystem. Its owner could be set by whoever supplied the container's content, through a migration, an image or a backup.

Finally, while a container starts or a disk is hot-plugged, the disk's source is briefly mounted under a path any local user can traverse, with setuid bits still honored.

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

Workarounds

Don't give untrusted local accounts membership of the incus group, and avoid proxy devices with unix sockets in directories that other users can write to.

Mounting the filesystem that holds the Incus directory with nosuid prevents the setuid-based escalations, but containers then lose setuid support too unless they use idmapped mounts on a separate filesystem.

There is no workaround for the transfer socket other than not having untrusted local users on hosts where rsync-based transfers are used (dir, lvm and cross-driver copies).

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