# CVE-2025-54286: GO-2025-4003 - CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI in github.com/canonical/lxd

Source: https://junglewise.ai/threats/cve-2025-54286-canonical-lxd-csrf-vulnerability-when-using-client-certificate  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-05  
License: CC BY 4.0 with a link back

CVE-2025-54286 · Severity: low · CVSS 3.1 · Published 2025-11-05

CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI in github.com/canonical/lxd

Technologies: [github.com/canonical/lxd (Go)](https://junglewise.ai/threats/technologies/github-com-canonical-lxd). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-54286 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-54286 being exploited in the wild.

**How severe is CVE-2025-54286?** Low severity, with a CVSS score of 3.1, published 5 November 2025.

**Which products and versions are affected?** github.com/canonical/lxd (Go) ECOSYSTEM:introduced=5.0,fixed=5.0.5, SEMVER:introduced=0.

**Is there a fix for CVE-2025-54286?** Yes. github.com/canonical/lxd (Go): upgrade to 5.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-54286?** Check whether you run github.com/canonical/lxd (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/canonical/lxd (Go): upgrade to 5.0.5 or later

  ```sh
  go get github.com/canonical/lxd@v5.0.5
  ```


## Affected products

- github.com/canonical/lxd (Go) ECOSYSTEM:introduced=5.0,fixed=5.0.5, SEMVER:introduced=0

## Identifiers

- CVE-2025-54286
- GHSA-p8hw-rfjg-689h
- GO-2025-4003

## Related threats

- [LXD restricted project bypass leading to arbitrary command execution](https://junglewise.ai/threats/lxd-has-restricted-project-bypass-leading-to-arbitrary-command-9034cd45)
- [LXD project restriction bypass in custom volume copy](https://junglewise.ai/threats/lxd-has-project-restriction-bypass-for-custom-volume-copy-across-d414fa7a)
- [LXD project restriction bypass in instance copy](https://junglewise.ai/threats/lxd-has-project-restriction-bypass-in-instance-copy-across-projects-48d466e0)
- [Incus arbitrary file write via trusted image hash](https://junglewise.ai/threats/lxd-has-arbitrary-file-write-on-client-due-to-trusted-image-hash-072dacee)
- [LXD argument injection in backup compression algorithm](https://junglewise.ai/threats/lxd-has-argument-injection-in-backup-compression-algorithm-leading-to-50a60f2a)
