All vulnerabilities

Servers and applications

GHSA-cxqx-x785-5926

Restricted clients can exhaust incusd memory through unbounded request bodies on upload endpoints

Severity
Medium 6.5
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Uncontrolled resource consumption (CWE-400)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Sources
Project advisories (GitHub)

Description

Request bodies are limited to 1MiB except on the endpoints that accept large uploads, such as instance creation (backup import), custom volume creation (backup and ISO import) and file upload. Those endpoints also accept a JSON body, or in the case of file upload a symlink target, which they read entirely into memory before processing. Those branches were not subject to any size limit.

A client allowed to create instances, custom volumes or storage buckets in a project, or to upload files to an instance or custom volume, which includes a restricted client in its own project, can make incusd allocate memory proportional to an arbitrarily large request body. Repeated or concurrent requests can exhaust the host's memory and get the daemon killed, interrupting the API for every project.

Neither instance nor project limits apply to this memory.

From lxc/incus's security advisory.

Workarounds

None.

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