All vulnerabilities

Servers and applications

CVE-2026-48750

Arbitrary file write on host via `exec-output` symlink in crafted image

Severity
Critical 9.9
Published
25 Jun 2026
Last changed
5 Nov 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.0.11, 5.0.7, 5.21.5, 6.9.0, 7.2.0
Exploit chance
0.8% in the next 30 daysHigher than 56% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
CWE-73
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
Also known as
GHSA-73hr-m85f-64v9
Sources
CVE Program, Project advisories (GitHub)

Description

The record-output parameter of the /instances/$name/exec endpoint stores the output of the command in the exec-output directory of the instance. If exec-output is a symlink, file named exec_UUID.stdout and exec_UUID.stderr can be written to an arbitrary location where the .stdout file will contain arbitrary content. This behavior can be abused for arbitrary command execution.

When an image is unpacked, top-level symlinks are extracted as is; allowing for exec-output to be placed on disk. In instance_exec.go, os.Mkdir continues of exec-output exists and os.OpenFile follows the exec-output symlink.

Constrained file creation in an arbitrary directory on the host via via an unsanitized symlink; possibly leading to command execution.

From lxc/incus's security advisory.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 4.0.0 before 4.0.11
  • From 5.0.0 before 5.0.7
  • From 5.1.0 before 5.21.5
  • From 6.0.0 before 6.9.0
IncusServers and applications · cna:lxc|incus
  • Every version before 7.2.0
IncusServers and applications · github:lxc/incus
  • Every version before 7.2.0

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,852GitHub, 15 Nov 2026
Forks
1,074GitHub, 15 Nov 2026
Latest release
lxd-6.10.1GitHub, 15 Nov 2026
Released
28 Oct 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,644GitHub, 15 Nov 2026
Forks
522GitHub, 15 Nov 2026
Latest release
v7.6.0GitHub, 15 Nov 2026
Released
30 Oct 2026GitHub
Developer
Linux ContainersWikidata
License
Apache Software License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References