CVE-2026-48750: Canonical Lxd
Critical severity, CVSS 9.9. EPSS: 0.8% probability of exploitation activity in the next 30 days.
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.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Canonical Lxd, from 4.0.0, before 4.0.11: fixed in 4.0.11
- Canonical Lxd, from 5.0.0, before 5.0.7: fixed in 5.0.7
- Canonical Lxd, from 5.1.0, before 5.21.5: fixed in 5.21.5
- Canonical Lxd, from 6.0.0, before 6.9.0: fixed in 6.9.0
- Lxc Incus, before 7.2.0: fixed in 7.2.0
Affected products
- Canonical Lxd: from 4.0.0, before 4.0.11 (fixed in 4.0.11); from 5.0.0, before 5.0.7 (fixed in 5.0.7); from 5.1.0, before 5.21.5 (fixed in 5.21.5); from 6.0.0, before 6.9.0 (fixed in 6.9.0)
- Lxc Incus: before 7.2.0 (fixed in 7.2.0)
Affected packages
- github.com/lxc/incus (Go)
- github.com/lxc/incus/v6 (Go)
- github.com/lxc/incus/v7 (Go)
- github.com/lxc/incus/v7/cmd/incusd (Go)
Published 2026-08-21. Last modified 2026-11-06.