All vulnerabilities

Servers and applications

GHSA-63p9-v6jg-fvvp

Guest API answers a connection as another instance after a pid is reused

Severity
High 7.1
Published
27 Nov 2026
Last changed
27 Nov 2026
Added to UpHeron
27 Nov 2026
Fixed in
7.7.0
Weakness
Authentication bypass by spoofing (CWE-290)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:N
Sources
Project advisories (GitHub)

Description

The guest API records the peer's credentials once, when a connection is accepted, and resolves which instance to answer as from the recorded pid number on every subsequent request. Nothing ties that number to the process that opened the connection.

A caller inside an instance can hold connections open from children that have since exited, drive the host's pid counter past its wrap point and stop. The next process created in another instance receives one of the held pid numbers, and requests on that connection are then answered as that other instance. The only additional check compares the instance's root uid, which is identical for every instance sharing the default id map.

This exposes the other instance's user. and cloud-init. configuration, which commonly carries passwords and tokens, along with its metadata and device list, across project boundaries, in the default configuration.

Instances configured with security.idmap.isolated=true are not affected.

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