Skip to content
OpenAdvisories
Critical · 9.9 CVE-2026-48750 EUVD-2026-63977GHSA-73hr-m85f-64v9GO-2026-5801

Incus has an arbitrary file write on host via `exec-output` symlink in crafted image

Published Aug 21, 2026 · Updated Nov 5, 2026 · Assigned by GitHub_M

Description

Incus is a system container and virtual machine manager. Prior to version 7.2.0, 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. Version 7.2.0 contains a patch.

Affected products

VendorProductAffectedFixed
lxc incus < 7.2.0 —
canonical lxd >= 4.0.0, < 4.0.11, >= 5.0.0, < 5.0.7, >= 5.1.0, < 5.21.5, >= 6.0.0, < 6.9.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 incus 7.0.0-5 —
Debian 13 incus 6.0.4-2+deb13u8 —
Debian 13 lxd 5.0.2+git20231211.1364ae4-9+deb13u7 —
Debian 12 lxd No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 incus No fix yet —
Ubuntu 25.10 incus No fix yet —
Ubuntu 20.04 LTS lxd No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS incus No fix yet —
Ubuntu Pro 24.04 LTS incus No fix yet —
Ubuntu Pro 18.04 LTS lxd No fix yet —
Ubuntu Pro 16.04 LTS lxd No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed incus 7.4-1.1 openSUSE-SU-2026:11651-1
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
ReleasePackageFixed inAdvisory
Alpine v3.24 incus 7.0.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/lxc/incus all versions — GO-2026-5801
Go github.com/lxc/incus/v6 all versions — GO-2026-5801
Go github.com/lxc/incus/v7 < 7.2.0 7.2.0 GO-2026-5801
Go github.com/lxc/incus/v7/cmd/incusd < 7.2.0 7.2.0 GHSA-73hr-m85f-64v9

Advisories 2

References