CVE-2025-54286 — Vulnerability in github.com/canonical/lxd — CVE...
Canonical LXD CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI
Summary
Advisory Timeline
- First published October 2, 2025 (375 days ago).
- Last revised September 10, 2026 — 342 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/canonical/lxd@v5.21.4
go get github.com/canonical/lxd@v6.5
go get github.com/canonical/lxd@v5.0.5
go get github.com/canonical/lxd@v0.0.0-20250827065555-0494f5d47e41
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: go (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| github.com/canonical/lxd | go | All versions | 5.21.4 |
| github.com/canonical/lxd | go | All versions | 6.5 |
| github.com/canonical/lxd | go | All versions | 5.0.5 |
| github.com/canonical/lxd | go | All versions | 0.0.0-20250827065555-0494f5d47e41 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-352Cross-Site Request Forgery (CSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2025-54286?
- Canonical LXD CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.3/10).
- How do I check if my project is affected by CVE-2025-54286?
- CVE-2025-54286 affects github.com/canonical/lxd. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-54286 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-34179CRITICAL
LXD: Update of type field in restricted TLS certificate allows privilege escalation to cluster admin
- CVE-2026-34177CRITICAL
LXD: VM lowlevel restriction bypass via raw.apparmor and raw.qemu.conf
- CVE-2026-34178CRITICAL
LXD: Importing a crafted backup leads to project restriction bypass
- CVE-2026-107809HIGH
Nginx-UI AuthRequired token cookie fallback enables CSRF against management APIs
- CVE-2026-107813HIGH
Nginx UI: Incomplete fix of CVE-2026-84315 - the api/cluster router was not - wrapped in RequireSecureSession, so those sensitive mutations run without OTP step-up
- CVE-2026-10720MEDIUM
Canonical MicroCeph: path traversal issue in the remote-import AP
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies