Incus has an arbitrary file write on host via `exec-output` symlink in crafted image (lxc incus)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.73 % Β· percentile 54 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-73 β External Control of File Name or Path
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-73hr-m85f-64v9 β Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
- GO-2026-5801 β Incus has an arbitrary file write on host via `exec-output` symlink in crafted image in github.com/lxc/incus
European references
- ENISA EUVD Β· EUVD-2026-63977
- GCVE Β· GCVE-0-2026-48750
Affected products
| Product | Versions |
|---|---|
| lxc Β· incus | affected < 7.2.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |