All vulnerabilities

Servers and applications

GHSA-42x8-664j-84w8

Host file read and write through backups, images, storage volumes and migration

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
Path traversal (CWE-22)
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

Several code paths that move data in or out of storage volumes handled content controlled by the client as if it were trusted, while running as root on the host.

Instance backups, custom volume backups and image publishing walked the volume by host path, so a directory replaced by a symbolic link during the walk was followed. Custom volumes could be accessed through an endpoint meant for the other content type (file and SFTP access on a block volume, NBD access on a filesystem volume) or refreshed from a volume of the other content type, in each case leaving a disk image path under the client's control. The bucket backup export endpoint built a file path from the backup name without checking that the backup exists.

Image handling had similar issues. The fingerprint and the delta base name supplied by a remote image server were used as file names before being validated.

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

Workarounds

There is no complete workaround. Only giving access to fully trusted users avoids the issues. Setting restricted.devices.disk=block, restricted.backups=block and removing access to storage buckets and custom volumes from untrusted projects reduces the exposure but doesn't cover the image related issues.

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