Authentication Bypass by Spoofing Affecting github.com/canonical/lxd/lxd package, versions <5.21.4>=6.1.0 <6.5.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.04% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCANONICALLXDLXD-13301438
  • published6 Oct 2025
  • disclosed2 Oct 2025
  • creditUnknown

Introduced: 2 Oct 2025

NewCVE-2025-54288  (opens in a new tab)
CWE-290  (opens in a new tab)

How to fix?

Upgrade github.com/canonical/lxd/lxd to version 5.21.4, 6.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Authentication Bypass by Spoofing via the findContainerForPID function. An attacker can access sensitive metadata, configuration, and device information of other containers by spoofing process names through the devLXD API endpoints.

Note:

This is only exploitable if the attacker has root privileges within any container.

CVSS Base Scores

version 4.0
version 3.1