All vulnerabilities

Servers and applications

GHSA-4j59-4pqh-f3qm

Restricted clients can read, replace and destroy other projects' images

Severity
High 8.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Insufficient verification of data authenticity (CWE-345)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Sources
Project advisories (GitHub)

Description

Image files are stored once per server and shared by every project that holds an image with the same fingerprint. Several code paths trusted that sharing more than they should:

  • Refreshing an image, by request or through the automatic update task, reused another project's image without checking that the owner of the refreshed image may see it, and accepted a partial fingerprint from the image server.
  • A download from an image server claiming to serve an OCI image was not compared with the requested fingerprint, and the fingerprint of an OCI image only covered its layers, not its configuration, nor was it tied to the content that was then fetched.
  • Uploading an image replaced the stored files of an existing image with the same fingerprint, and the same content split differently between metadata and root file system has the same fingerprint.
From lxc/incus's security advisory. Shortened; the full text is there.

Workarounds

Setting restricted.images.servers on restricted projects to a list of trusted image servers prevents the attacks that rely on an image server controlled by the client.

There is no workaround for the upload, token and publish issues.

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