All vulnerabilities

Servers and applications

GHSA-r69f-pwfc-cwrr

Restricted projects can inject QEMU configuration through a virtual machine disk device path

Severity
High 7.4
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Injection (CWE-74)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Sources
Project advisories (GitHub)

Description

A virtual machine disk device's guest path is accepted without restriction and becomes part of a server-generated device pathname, which is written into the virtual machine's QEMU configuration file as a quoted value. The configuration format has no escaping, so a path containing a quote and a line break ends the quoted value early and adds configuration entries and sections of the client's choosing.

A client able to create a virtual machine in a restricted project can add QEMU configuration that Incus never generated, including a control monitor for the virtual machine's QEMU process, which runs as root. This bypasses restricted.virtual-machines.lowlevel, whose purpose is to deny exactly this kind of low-level control (raw.qemu, raw.qemu.conf and related keys).

A host-side control monitor reachable through this was demonstrated. What can be done from it depends on the QEMU build and on the confinement applied to the QEMU process.

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

Workarounds

Deny virtual machine creation to untrusted clients, or allow it only in projects whose users you would trust with raw.qemu.

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