Description
Incus is a system container and virtual machine manager. Prior to version 7.3.0, an unprivileged, project-confined Incus user (a non-admin TLS/RBAC identity with `can_create_images` and `can_create_instances`) can execute arbitrary code as root on the host. A crafted image ships `backup.yaml` as a symlink to a host file. When the root daemon writes the instance's backup file, it follows the symlink. Version 7.3.0 patches the issue.
Published: 2026-08-21
Score: 9.9 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Incus is a system container and virtual machine manager that supports user‑created images. Prior to version 7.3.0, any user with the non‑admin TLS/RBAC rights `can_create_images` and `can_create_instances` can supply a custom image. An image may contain a file called `backup.yaml` that is a symbolic link pointing to an arbitrary file on the host. When the root‑privileged daemon performs an instance backup, it follows that symlink and writes the backup data to the referenced host file, effectively allowing the attacker to overwrite or execute code as root. This vulnerability is classified as an OS path traversal / local file overwrite flaw (CWE‑59, CWE‑61).

Affected Systems

The affected product is Incus by LXC. The issue exists in any release before 7.3.0; users running 7.2.x or earlier are at risk. The fix was introduced in Incus 7.3.0.

Risk and Exploitability

The risk is critical with a CVSS score of 9.9. No EPSS data is available, and the flaw is not listed in CISA’s KEV catalog. An attacker who can create a project‑confined Incus user with image upload rights can supply a crafted backup.yaml symlink and trigger arbitrary code execution as root on the host. The exploitation path requires legitimate access to the Incus API or CLI with the minimal permissions mentioned above; no network‑wide exposure is required beyond that access. The vulnerability is fully mitigated by upgrading to 7.3.0 or later, which removes the ability to follow symlinks during backup creation.

Generated by OpenCVE AI on August 21, 2026 at 16:49 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Incus 7.3.0 or newer to apply the vendor patch that stops following symlinks during backup creation.
  • If an upgrade is not immediately feasible, revoke the `can_create_images` and `can_create_instances` privileges from non‑admin TLS/RBAC users or applications within projects, thereby preventing the upload of malicious images.
  • Disable or restrict the backup feature for containers and instances in environments that cannot be patched, to eliminate the path for the symlink resolution attack.

Generated by OpenCVE AI on August 21, 2026 at 16:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6407-1 incus security update
History

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

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

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

Type Values Removed Values Added
Description Incus is a system container and virtual machine manager. Prior to version 7.3.0, an unprivileged, project-confined Incus user (a non-admin TLS/RBAC identity with `can_create_images` and `can_create_instances`) can execute arbitrary code as root on the host. A crafted image ships `backup.yaml` as a symlink to a host file. When the root daemon writes the instance's backup file, it follows the symlink. Version 7.3.0 patches the issue.
Title Incus vulnerable to root RCE via image backup.yaml symlink
Weaknesses CWE-59
CWE-61
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-21T15:02:55.718Z

Reserved: 2026-07-15T16:54:55.816Z

Link: CVE-2026-63125

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-63125

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T17:30:03Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

  • CWE-61

    UNIX Symbolic Link (Symlink) Following