CVE-2025-54290: github.com/canonical/lxd · Canonical LXD Project Existence Determination Through Error Handling in Image Export Function
Affects github.com/canonical/lxdSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 5.21.4 when convenient.
Data as of 4 Nov 2026, 18:22 UTC
- Patch
- Available – fixed in 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.
What to do
Upgrade github.com/canonical/lxd to 5.21.4; github.com/canonical/lxd to 6.5; github.com/canonical/lxd to 0.0.0-20250827065555-0494f5d47e41.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
| Gogithub.com/canonical/lxd | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in LXD versions 5.21.4 and 6.5. It is recommended to update to these versions or later. The patch modifies error handling in the images export API to return consistent 404 responses regardless of project existence, preventing enumeration. Additionally, disabling prefix matching and allowing only exact fingerprint matches in unauthenticated requests can mitigate the issue if compatibility allows.
Description
A vulnerability in Canonical LXD's images export API allows unauthenticated attackers to determine the existence of projects by observing different HTTP error responses. Specifically, when querying images with wildcard fingerprints, the API returns a 500 error if multiple images match in an existing project, but a 404 error if the project does not exist. This discrepancy enables project enumeration without authentication. The vulnerability is fixed in LXD versions 5.21.4 and 6.5.