All vulnerabilities

Servers and applications

GHSA-992p-fqxp-43w6

Restricted project users can mount data over any host path through an optimized ZFS import

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
CWE-15CWE-73
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

Optimized ZFS backups of storage volumes and virtual machines are restored by receiving a ZFS stream. For volumes whose content is a block device, the properties carried in the stream are kept, and nothing checks that a stream declared as block content actually holds one.

A filesystem stream can therefore be imported as if it were a block volume, carrying a mount point of the attacker's choosing. ZFS, running as root, creates the dataset with that mount point and mounts it there straight away. Overlay mounts are the ZFS default, so the directory does not have to be empty for this to take effect.

The mount is re-established every time the pool is imported, including when Incus imports its own pool while starting, so it outlives both a restart of Incus and a reboot of the host.

A client that can create storage volumes or import instances in a restricted project can mount a filesystem it built itself over any directory on the host, as root.

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

Workarounds

Keep restricted projects off ZFS storage pools, or do not allow untrusted users to import volumes or instances. Where imports are not needed, restricted.backups=block on the project removes the route.

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