Vulnerability · Published Aug 21, 2026 · Assigned by GitHub_M
CVE-2026-48750Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
Critical 9.9
In plain English
A critical-severity security flaw in lxd from canonical. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.24 | incus | 7.0.1-r0 | ALPINE-CVE-2026-48750 |
| Debian:13 | incus | 6.0.4-2+deb13u8 | DEBIAN-CVE-2026-48750 |
| Debian:14 | incus | 7.0.0-5 | DEBIAN-CVE-2026-48750 |
| Debian:12 | lxd | no fix listed | DEBIAN-CVE-2026-48750 |
| Debian:13 | lxd | 5.0.2+git20231211.1364ae4-9+deb13u7 | DEBIAN-CVE-2026-48750 |
| Go | github.com/lxc/incus | no fix listed | GO-2026-5801 |
| Go | github.com/lxc/incus/v6 | no fix listed | GO-2026-5801 |
| Go | github.com/lxc/incus/v7 | 7.2.0 | GO-2026-5801 |
| Go | github.com/lxc/incus/v7/cmd/incusd | 7.2.0 | GHSA-73hr-m85f-64v9 |
| Ubuntu:25.10 | incus | no fix listed | UBUNTU-CVE-2026-48750 |
| Ubuntu:26.10 | incus | no fix listed | UBUNTU-CVE-2026-48750 |
Affected products (as reported)
Weakness: CWE-73 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/lxc/incus/security/advisories/GHSA-73hr-m85f-64v9 x_refsource_CONFIRM
- https://github.com/canonical/lxd/security/advisories/GHSA-9j25-mm2h-2f76 x_refsource_MISC