All vulnerabilities

Servers and applications

CVE-2026-136978

Restricted project users can read and write host devices through the file transfer API

Severity
Medium 6.5
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
4.0.16, 5.0.12, 5.21.10, 6.10.2
Exploit chance
0.4% in the next 30 daysHigher than 25% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Exposure of a resource to the wrong sphere (CWE-668)
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:H/SI:H/SA:H
Also known as
GHSA-xhf6-9xgm-cjrc
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from https://github.com/lxc/incus/security/advisories/GHSA-xw8w-vwh3-9w5v

Incus serves file transfers for instances and custom storage volumes (incus file pull, incus file push, incus file mount and the matching incus storage volume file commands) through a helper process that opens the requested path inside the instance or volume.

For a stopped container or a custom volume, that helper runs as root on the host, outside of any user namespace or device restriction. It opened whatever the path pointed to, including block and character device nodes, which then gave access to the corresponding host device.

A user can place a device node in an instance or volume without ever running anything in it, by importing an image or a backup that already contains one. Images and instance backups only had device nodes removed from /dev, and custom volume backups were unpacked as is.

From canonical/lxd's security advisory. Shortened; the full text is there.

Workarounds

There is no complete workaround. On affected versions, do not allow untrusted users to import images or backups, or to create instances from images that were not built by a trusted party.

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

Affected software

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

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-136978 , 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