All vulnerabilities

Servers and applications

CVE-2025-54288

Source Container Identification Vulnerability via cmdline Spoofing in devLXD Server

Severity
Medium 5.1
Published
2 Oct 2025
Last changed
12 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
5.21.4, 6.5
Exploit chance
0.4% in the next 30 daysHigher than 29% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Authentication bypass by spoofing (CWE-290)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-7232-97c6-j525
Sources
NVD, Project advisories (GitHub)

Description

In LXD's devLXD server, the source container identification process uses process cmdline (command line) information, allowing attackers to impersonate other containers by spoofing process names.

The core issue lies in the findContainerForPID function in lxd/api_devlxd.go. This function identifies senders through two steps as shown below:

  • cmdline-based identification: Check while tracing back through parent processes, and if it starts with [lxc monitor], extract the project name and container name from that process name in the format projectName_containerName.
  • PID namespace-based identification: If not found in Step 1, check against all containers' PID namespaces.

Attackers can exploit Step 1 processing to impersonate arbitrary containers across projects by spoofing process names.

This vulnerability allows attackers to perform the following actions:

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

Affected software

SoftwareAffected versions
LXDServers and applications · cpe:a:canonical:lxd
  • From 4.0.0 before 5.21.4
  • From 6.1 before 6.5
LXDServers and applications · github:canonical/lxd
  • From 4.0 before 5.21.4

About LXD

container manager for system containers

From Wikidata, CC0 1.0.
GitHub stars
4,852GitHub, 15 Nov 2026
Forks
1,074GitHub, 15 Nov 2026
Latest release
lxd-6.10.1GitHub, 15 Nov 2026
Released
28 Oct 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

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-54288
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-54288
  • GitHub Advisory Database https://github.com/advisories/GHSA-7232-97c6-j525
  • github.com https://github.com/canonical/lxd/security/advisories/GHSA-7232-97c6-j525