All vulnerabilities

Servers and applications

GHSA-wm96-rxh7-f5w2

NBD commands expose volume and VM disks to every local user through an unauthenticated loopback listener

Severity
High 7.9
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Missing authentication (CWE-306)Exposure of a resource to the wrong sphere (CWE-668)
Attack
Needs local access · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

incus storage volume nbd and incus low-level nbd open an NBD connection to the server with the caller's credentials and re-export it on a TCP listener, by default 127.0.0.1 with a random port.

Nothing authenticates the client connecting to that port. A TCP port on the loopback interface is reachable by every local user and process, and the list of listening ports is public, so anyone on the machine can attach to the export instead of, or next to, the user who started the command.

While one of these commands is running, any local user on the machine running the incus CLI can:

  • incus storage volume nbd: read the whole block volume, and write to it when the command was started with --writable. The command serves a single connection, so a local user who connects first also keeps the legitimate client out.
  • incus low-level nbd: access the root and dependent disks of the running virtual machine.
From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

Do not use these commands on systems with untrusted local users.

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

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • From 7.0.0 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