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.
https://github.com/lxc/incus/security/advisories/GHSA-wfvq-qh87-gm4j
Published: 2026-10-22
Updated: 2026-10-22
Base Score: 4.9
Vector: CVSS2#AV:N/AC:H/Au:S/C:N/I:C/A:N
Severity: Medium
Base Score: 5.8
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:N
Severity: Medium
Base Score: 6.9
Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
Severity: Medium