CVE-2026-63343

Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root

Published Aug 21, 2026 CVSS 3.1 · 9.9 Critical EPSS < 1% KEV · Not listed
Description
Incus is a system container and virtual machine manager. Prior to version 7.3.0, a malicious image containing a `metadata.yaml` symlink pointing to an arbitrary host path allows an authenticated Incus user to read or overwrite any file on the host as root via the instance metadata API. The `exec-output` and `templates/` paths were patched in a prior release using `Lstat` rejection and `os.OpenRoot` confinement; `metadata.yaml` was not included in either patch and remains exploitable. Version 7.3.0 patches the issue.

Analysis

AI-generated

Technical impact

Incus before version 7.3.0 allows an authenticated user to inject a malicious image containing a metadata.yaml symlink that points to any host path. When the instance metadata API is used, the symlink is dereferenced with root privileges, giving the attacker the ability to read or overwrite arbitrary files on the host. This vulnerability is a classic path traversal and symlink abuse, classified as CWE‑73, and can lead to full control of the system if the attacker can modify configuration or system files.

Affected Systems

The Incus container manager when running any version earlier than 7.3.0 is affected. Image imports that contain a metadata.yaml symlink are the primary attack vector. All users with the ability to import custom images can exploit this flaw. The fixed release begins at 7.3.0.

Risk and Exploitability

The CVSS score of 9.9 indicates critical severity. No EPSS score is available, and the flaw is not listed in CISA KEV, so current exploit prevalence is uncertain. An attacker must be authenticated to Incus and must be able to import a crafted image; however, once the image is loaded, the metadata API call can be issued from a privileged container or host tool, allowing the symlink to be resolved with root rights. Given the high CVSS and the potential for system compromise, the risk is large and the vulnerability is exploitable under normal usage conditions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Incus to version 7.3.0 or newer
  • Restrict image import privileges to trusted users and enforce image signing before import
  • Disable or tightly restrict access to the instance metadata API for untrusted or low‑privileged accounts

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
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lxc
Lxc incus
Vendors & Products Lxc
Lxc incus
Type Values Removed Values Added
Description Incus is a system container and virtual machine manager. Prior to version 7.3.0, a malicious image containing a `metadata.yaml` symlink pointing to an arbitrary host path allows an authenticated Incus user to read or overwrite any file on the host as root via the instance metadata API. The `exec-output` and `templates/` paths were patched in a prior release using `Lstat` rejection and `os.OpenRoot` confinement; `metadata.yaml` was not included in either patch and remains exploitable. Version 7.3.0 patches the issue.
Title Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root
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'}

Weaknesses
  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 21, 2026, 9:44 PM
Reserved
Jul 16, 2026, 2:14 PM
Status
Deferred
Published
Aug 21, 2026, 3:16 PM
Modified
Oct 15, 2026, 7:10 PM