Servers and applications
CVE-2026-115378
Incus CLI arbitrary file write via malicious incus-agent during recursive file pull
- Severity
- Medium 6.9
- Published
- 25 Sept 2026
- Last changed
- 26 Oct 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 6.0.7, 7.0.2, 7.5.0
- Exploit chance
- 0.3% in the next 30 daysHigher than 21% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Link following (CWE-59)
- Attack
- Over the network · Only under certain conditions · Needs a user account · Needs someone to view a page or file
- Attacker can
- Change data
- CVSS 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- Also known as
- GHSA-wfvq-qh87-gm4j
- Sources
- CVE Program, Project advisories (GitHub)
Description
incus file pull -r copies a directory tree out of a virtual machine over SFTP, served by incus-agent running inside the guest. The client trusted the agent's directory listing and Lstat results without accounting for the fact that a compromised agent can make them inconsistent. A malicious agent can return the same entry name twice, report it as a symlink on the first visit and as a directory or regular file on the second. The client creates the symlink on the first visit and, on the second, recurses into or writes through it, escaping the local target directory.
An attacker with root inside a virtual machine, running a modified incus-agent, can make an operator who runs incus file pull -r from that virtual machine write attacker-controlled files, or whole directory trees, to arbitrary paths on the machine running the incus CLI, with the operator's privileges. When run as root this allows overwriting files such as /etc/shadow or /root/.ssh/authorized_keys.
Workarounds
Avoid incus file pull -r from untrusted virtual machines, or run it as an unprivileged user into a dedicated directory.
Affected software
| Software | Affected versions |
|---|---|
IncusServers and applications · cna:lxc|incus |
|
IncusServers and applications · github:lxc/incus |
|
About Incus
container manager for system containers
- GitHub stars
- 6,644GitHub, 15 Nov 2026
- Forks
- 522GitHub, 15 Nov 2026
- Latest release
- v7.6.0GitHub, 15 Nov 2026
- Released
- 30 Oct 2026GitHub
- Developer
- Linux ContainersWikidata
- License
- Apache Software License 2.0Wikidata
- Written in
- GoWikidata
- First released
- 7 Aug 2023Wikidata
- First published on GitHub
- 22 Jul 2023GitHub
Vulnerabilities in Incus
- In our list
- 92
- Published in the last 12 months
- 89
- Critical, last 12 months
- 37
- High, last 12 months
- 28
- Known exploited
- 0
- CVE-2026-130786Incus before 7.6.0 LXC Configuration Injection via OCI Image ConfigCritical 9.4 18 Nov 2026
- CVE-2026-130785Incus 7.3.0 before 7.6.0 Guest API Container Impersonation via Forged CgroupHigh 8.4 18 Nov 2026
- CVE-2026-130784Incus before 7.6.0 Authorization Bypass via Default Project Resource InheritanceCritical 9.4 18 Nov 2026
- CVE-2026-130783Incus before 7.6.0 Token Exposure and Missing Authorization via Operation EventsCritical 9.3 18 Nov 2026
- CVE-2026-130782Incus before 7.6.0 Improper Authorization Exposes Default Project ResourcesHigh 8.3 18 Nov 2026
- CVE-2026-130781Incus before 7.6.0 Memory Exhaustion via S3 Listener Pre-Authentication BufferingHigh 7.1 18 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-115378
- GitHub Advisory Database https://github.com/advisories/GHSA-wfvq-qh87-gm4j
- github.com https://github.com/lxc/incus/security/advisories/GHSA-wfvq-qh87-gm4j