All vulnerabilities

Servers and applications

GHSA-hm9p-jjr8-3jp8

Restricted clients can create custom volumes in the default project through an instance backup 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
Incorrect authorization (CWE-863)
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

An instance backup can carry custom volumes that are attached to the instance as dependent disks, which are created along with the instance on import. Those volumes are created in the project the instance's project takes its custom volumes from, which is the default project when features.storage.volumes is disabled.

The import only checked that the caller may create instances in the target project. The creation of the dependent volumes was not authorized against the project they end up in, and the project's restrictions were not applied to their configuration.

A client restricted to a project that inherits its custom volumes from the default project can create custom volumes in the default project by importing an instance backup that declares them. The volumes are created with the configuration from the backup, so restrictions on volume configuration in the restricted project do not apply, including the block.create_options key, which passes arguments to the filesystem formatter…

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

Workarounds

Set features.storage.volumes=true on restricted projects, so their volumes are created in the project itself.

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