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.
Published: 2026-08-21
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Incus, a system container and virtual machine manager, was found to allow an attacker to write files to arbitrary locations on the host when the exec-output directory is a symbolic link. The /instances/$name/exec endpoint records command output to files such as exec_UUID.stdout and exec_UUID.stderr. If exec-output points to a symlink, the .stdout file can be written with attacker‑specified content, enabling the injection of files that may execute arbitrary commands. This vulnerability is a classic example of CWE‑73 relative path traversal/indirect file write, and it can lead to full system compromise.

Affected Systems

Affected vendor products include Incus from lxc, specifically any release earlier than version 7.2.0. The vulnerability applies to all instance images that rely on the exec-output mechanism, meaning any system running Incus 7.1.x or older is potentially impacted.

Risk and Exploitability

The CVSS score of 9.9 marks this flaw as critical, and the attack is likely to be carried out via the Incus REST API or command‑line interface that issues exec requests. Although the EPSS score is not available, the absence of an exploitation record in the KEV catalog does not reduce the potential danger, as the vulnerability remains unpatched in many environments. Once patched to 7.2.0 or later, the risk is removed.

Generated by OpenCVE AI on August 21, 2026 at 15:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade all Incus installations to version 7.2.0 or newer, which removes the vulnerable behavior.
  • Verify that the exec-output directory is not configured as a symbolic link, and if legacy images exist, replace the symlink with a standard directory.
  • Restrict external access to the Incus REST API to trusted administrators and monitor exec commands for anomalous activity.

Generated by OpenCVE AI on August 21, 2026 at 15:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6370-1 incus security update
Debian DSA Debian DSA DSA-6373-1 lxd security update
Github GHSA Github GHSA GHSA-73hr-m85f-64v9 Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
History

Fri, 21 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
First Time appeared Lxc
Lxc incus
Vendors & Products Lxc
Lxc incus

Fri, 21 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
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.
Title Incus has an arbitrary file write on host via `exec-output` symlink in crafted image
Weaknesses CWE-73
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-21T14:19:45.109Z

Reserved: 2026-05-22T19:10:35.748Z

Link: CVE-2026-48750

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T15:16:40.390

Modified: 2026-08-21T15:16:40.390

Link: CVE-2026-48750

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T15:30:05Z

Weaknesses
  • CWE-73

    External Control of File Name or Path