CVE-2025-54286Canonical Lxd
High 7.5 No auth needed
Follow: this CVE · Canonical · Canonical Lxd We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 4.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 2, 2025
- Updated
- Oct 12, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-352
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Cross-Site Request Forgery (CSRF) in LXD-UI in Canonical LXD versions >= 5.0 on Linux allows an attacker to create and start container instances without user consent via crafted HTML form submissions exploiting client certificate authentication.
What to do
- Apply the vendor's security update for Lxd.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/canonical/lxd |
≥ 5.0 < 5.0.5 |
5.0.5 |
go get github.com/canonical/lxd@v5.0.5 |
| Go | github.com/canonical/lxd |
≥ 5.1 < 5.21.4 |
5.21.4 |
go get github.com/canonical/lxd@v5.21.4 |
| Go | github.com/canonical/lxd |
≥ 6.0 < 6.5 |
6.5 |
go get github.com/canonical/lxd@v6.5 |
| Go | github.com/canonical/lxd |
≥ 0.0.0-20220401034332-1e1349e3cbf3 < 0.0.0-20250827065555-0494f5d47e41 |
0.0.0-20250827065555-0494f5d47e41 |
go get github.com/canonical/lxd@v0.0.0-20250827065555-0494f5d47e41 |
| Go | github.com/canonical/lxd |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-p8hw-rfjg-689h, GO-2025-4003). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | lxd | ≥ 5.0.0 < 5.0.5 |
| canonical | lxd | ≥ 5.21.0 < 5.21.4 |
| canonical | lxd | ≥ 6.1 < 6.5 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory