Servers and applications
CVE-2026-141355
Container TPM resource manager node can refer to another TPM
- Severity
- Medium 5.6
- Published
- 3 Dec 2026
- Last changed
- 3 Dec 2026
- Added to UpHeron
- 3 Dec 2026
- Fixed in
- 5.0.13, 5.21.11, 6.10.3
- Weakness
- Incorrect calculation (CWE-682)
- Attack
- Over the network · Only under certain conditions · Needs a user account · No user action needed
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L- Also known as
- GHSA-jgqp-w77q-4m87
- Sources
- CVE Program, Project advisories (GitHub)
Description
Reported from https://github.com/lxc/incus/security/advisories/GHSA-wgg4-rrw6-c64w
When a tpm device is attached to a container, Incus derives the device numbers of the resource manager node (pathrm, usually /dev/tpmrm0) from the raw device numbers reported by swtpm, using a wrong constant and the raw device's major number instead of reading the kernel's own numbers from sysfs. As a result, the resource manager node for TPM index 0 does not refer to any device, and the resource manager node for TPM index 244 refers to the resource manager of TPM index 0 rather than the container's own TPM.
A container whose swtpm instance is assigned TPM index 244 is given, and allowed by its device cgroup, a resource manager node for TPM index 0. That TPM belongs to the host when the host has its own TPM, or to whichever instance first started a TPM device otherwise.
Affected software
| Software | Affected versions |
|---|---|
LXDServers and applications · cna:canonical|lxd |
|
LXDServers and applications · github:canonical/lxd |
|
About LXD
container manager for system containers
- 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
Vulnerabilities in LXD
- In our list
- 96
- Published in the last 12 months
- 80
- Critical, last 12 months
- 26
- High, last 12 months
- 13
- Known exploited
- 0
- CVE-2026-115842Push-mode instance migration lets a user restricted to a project with `restricted.snapshots=block` create snapshots in that project (the `limits.AllowSnapshotCreation` check is missing on the migration receive path — an incomplete fix for the cross-project restriction bypass)Medium 5.3 3 Dec 2026
- CVE-2026-135363Instance copy refresh modifies an existing target without edit permissionMedium 6.1 3 Dec 2026
- CVE-2026-127156Archive-supplied device node gives an unprivileged container raw access to host block devicesMedium 6.5 1 Dec 2026
- CVE-2026-127155Restricted clients can exhaust LXD memory through unbounded request bodies on upload endpointsHigh 7.1 1 Dec 2026
- CVE-2026-127159Migration peers can force unbounded memory allocation on the receiving daemonHigh 7.1 1 Dec 2026
- CVE-2026-140086lxc image export short-fingerprint symlink traversalHigh 7.5 1 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141355
- GitHub Advisory Database https://github.com/advisories/GHSA-jgqp-w77q-4m87
- github.com https://github.com/canonical/lxd/security/advisories/GHSA-jgqp-w77q-4m87