All vulnerabilities

Servers and applications

GHSA-gg58-ppxh-6h48

Backup import accepts a snapshot named `..`, deleting other projects' instance snapshots on directory pools

Severity
High 8.2
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Path traversal (CWE-22)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H
Sources
Project advisories (GitHub)

Description

The fix for GHSA-26gp-p5fw-3r2h validates the snapshot names found in an instance backup, but that validation accepts a snapshot named ... On the directory storage driver, importing such a backup synchronizes the backup content onto the pool-wide instance snapshot directory, deleting every other instance's snapshots on that pool.

Any user allowed to create instances in a project can trigger this, including a user confined to a restricted project and the members of the incus group served by incus-user. The import path only checks the right to create instances.

A client confined to one project can delete the instance snapshots of every other project on a directory storage pool. The deleted snapshot data cannot be recovered through Incus. The affected snapshots are still listed, as their database records remain, but restoring them fails.

Nothing is disclosed to the attacker and the live instance volumes are not touched.

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.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