All vulnerabilities

Servers and applications

CVE-2026-127152

Rebuilding a never-started container makes it boot without a user namespace, running as privileged

Severity
Medium 6.3
Published
26 Nov 2026
Last changed
26 Nov 2026
Added to UpHeron
26 Nov 2026
Fixed in
5.21.10, 6.10.2
Exploit chance
0.2% in the next 30 daysHigher than 4% of CVEs. EPSS by FIRST, 29 Nov 2026
Weakness
Improper privilege management (CWE-269)CWE-271
Attack
Needs local access · Needs a user account · No user action needed
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Also known as
GHSA-v3r3-p5j8-9v5h
Sources
CVE Program, Project advisories (GitHub)

Description

Reported from https://github.com/lxc/incus/security/advisories/GHSA-9c46-v3hw-v6m8

A container that is rebuilt before it has ever been started boots with no user namespace while its configuration still says it is unprivileged. In-container root is then uid 0 on the host, and because the privileged-container hardening is keyed on the security.privileged configuration (not on the actual ID map), none of it is applied. The result is a container the operator believes is unprivileged but which has full host root, retained dangerous capabilities, no device cgroup restriction, /dev/zfs exposed, and only the permissive "unprivileged" AppArmor profile.

incus create allocates and persists an ID map at create time for an unprivileged instance:

volatile.idmap.current is only written on start, so a never-started instance has next but no current.

incus rebuild resets the map, deleting both the pending map and the on-disk map state:

From canonical/lxd's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
LXDServers and applications · cna:canonical|lxd
  • From 5.21 before 5.21.10
  • From 5.21 before 6.10.2
LXDServers and applications · github:canonical/lxd
  • From 5.21 before 5.21.10

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 2 vulnerable
PackageDebian releaseStatus
lxd13trixiestableVulnerableNo fix yet.
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-127152 , read in the last 12 hours.

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,861GitHub, 29 Nov 2026
Forks
1,080GitHub, 29 Nov 2026
Latest release
lxd-6.10.2GitHub, 29 Nov 2026
Released
26 Nov 2026GitHub
Developer
Stéphane GraberWikidata
License
AGPL-3.0GitHub
Written in
GoWikidata
First released
4 Nov 2014Wikidata
First published on GitHub
4 Nov 2014GitHub

References