All vulnerabilities

Servers and applications

GHSA-whqq-3g5w-5p5w

Arbitrary file write during recursive file pull on case-insensitive file systems

Severity
High 7.7
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Link following (CWE-59)Case-sensitivity mistakes (CWE-178)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

incus file pull -r and incus storage volume file pull -r can be made to write outside of the local target directory when the client runs on a case-insensitive file system, such as the default APFS on macOS.

The symlink tracking added for GHSA-wfvq-qh87-gm4j identifies the symlinks created during a transfer by their path string. On a case-insensitive file system two different strings (Link and link) name the same path, so the second entry is not recognized as a symlink created by this transfer and the client writes through it.

Unlike GHSA-wfvq-qh87-gm4j, this needs neither a virtual machine nor a modified incus-agent. The source directory only has to hold two entries whose names differ in case, which is valid on the instance's own file system. Any user able to create files in a directory that an operator later pulls can set this up, including an unprivileged user inside an unprivileged container.

From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

Avoid recursive pulls from instances or volumes holding untrusted content on macOS, or pull into a case-sensitive volume.

Workarounds as given by lxc/incus's security advisory.

Affected software

SoftwareAffected versions
IncusServers and applications · github:lxc/incus
  • Every version before 7.7.0

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
6,771GitHub, 29 Nov 2026
Forks
535GitHub, 29 Nov 2026
Latest release
v7.7.0GitHub, 29 Nov 2026
Released
27 Nov 2026GitHub
Developer
Linux ContainersWikidata
License
Apache License 2.0Wikidata
Written in
GoWikidata
First released
7 Aug 2023Wikidata
First published on GitHub
22 Jul 2023GitHub

References