All vulnerabilities

Servers and applications

CVE-2026-81493

Arbitrary file write on host via image fingerprint path traversal

Severity
Critical 9.9
Published
30 Jul 2026
Last changed
27 Aug 2026
Added to UpHeron
1 Nov 2026
Fixed in
7.3.0
Weakness
Path traversal (CWE-22)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Also known as
GHSA-p2v3-6wvc-cv3p
Sources
Project advisories (GitHub)

Description

The fix for CVE-2026-48769 (GHSA-f6m5-xw2g-xc4x, commit 46d6ef23, present in v7.2.0) added validate.IsSHA256(fp) but gated it to protocol == "direct" only. A project user with EntitlementCanCreateImages can POST /1.0/images with source.protocol=simplestreams (or incus/lxd/oci), source.secret=, and source.fingerprint=../../../../etc/cron.d/x. Because the secret path skips the fingerprint reassignment, the raw attacker value reaches os.Create at daemon_images.go:393 as the root daemon — an unconditional arbitrary file create/truncate; pairing with an attacker-run source.server fills it with attacker content → host RCE.

imgPostRemoteInfo (images.go:532) maps the request body Fingerprint→Alias, plus Protocol, Secret, Server. fp := args.Alias (daemon_images.go:93) is the attacker fingerprint. The block at daemon_images.go:135-161 that would reassign fp = info.Fingerprint is gated by if args.Secret == "" — so with a secret set it is skipped and fp stays the raw traversal string.

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

Affected software

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

About Incus

container manager for system containers

From Wikidata, CC0 1.0.
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

References