---
id: CVE-2026-115378
title: >-
  Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0 Arbitrary File
  Write via Recursive File Pull
summary: >-
  Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0 contains an
  arbitrary file write vulnerability in sftpRecursivePullFile that allows a
  malicious incus-agent to escape the target directory during incus file pull
  -r. Attacker…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-59
vendor: lxc
product: incus
affected:
  - incus < 6.0.7
  - incus >= 6.1.0 < 7.0.2
  - incus >= 7.1.0 < 7.5.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-23T14:48:27.087575Z'
published: '2026-10-22'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T15:01:16.157Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-115378'
references:
  - url: 'https://github.com/lxc/incus/security/advisories/GHSA-wfvq-qh87-gm4j'
    label: GitHub Security Advisory (GHSA-wfvq-qh87-gm4j)
  - url: >-
      https://www.vulncheck.com/advisories/incus-before-6.0.7-6.1.0-before-7.0.2-and-7.1.0-before-7.5.0-arbitrary-file-write-via-recursive-file-pull
    label: >-
      VulnCheck Advisory: Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0
      before 7.5.0 Arbitrary File Write via Recursive File Pull
tags:
  - cve.org
epss: 0.00241
epssPercentile: 0.14432
ingestedAt: '2026-10-22T22:00:50.402Z'
---

## Overview

Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0 contains an arbitrary file write vulnerability in sftpRecursivePullFile that allows a malicious incus-agent to escape the target directory during incus file pull -r. Attackers with root in a virtual machine can return duplicate entries reported first as symlinks then as files or directories, writing attacker-controlled files such as /etc/shadow on the operator's host.

## Affected

- `incus < 6.0.7`
- `incus >= 6.1.0 < 7.0.2`
- `incus >= 7.1.0 < 7.5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
