All vulnerabilities

Servers and applications

CVE-2026-127160

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

Severity
Medium 5.3
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
5.0.12, 5.21.10, 6.10.2
Exploit chance
0.5% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Injection (CWE-74)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L
Also known as
GHSA-4qmm-cj9m-mmwr
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from https://github.com/lxc/incus/security/advisories/GHSA-r69f-pwfc-cwrr

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).

From canonical/lxd's security advisory.

Workarounds

Deny virtual machine creation to untrusted clients, or allow it only in projects whose users you would trust with raw.qemu. 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.

Only projects in which untrusted clients may create virtual machines are affected. Server administrators can set the low-level keys directly and gain nothing from this.

Workarounds as given by canonical/lxd's security advisory.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 5.0 before 5.0.12
  • From 5.0 before 5.21.10
  • From 5.0 before 6.10.2
LXDServers and applications · github:canonical/lxd
  • From 5.0 before 5.0.12

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-127160 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References