Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-54286

HIGH 7.5EPSS 4%

CSRF Vulnerability When Using Client Certificate Authentication with the LXD-UI

Also known as GHSA-p8hw-rfjg-689h, GO-2025-4003

Mitigation

  • Upgrade github.com/canonical/lxd to one of 5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/canonical/lxd (>= 5.0, < 5.0.5)
  • Anyone running Canonical LXD >= 5.0, < 5.0.5; >= 5.21, < 5.21.4; >= 6.0, < 6.5

Vulnerability facts

Affected
github.com/canonical/lxd >= 5.0, < 5.0.5
Fixed in
5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:LOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: Low
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
CWE
CWE-352
Published
Modified

Description

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.

Affected and fixed versions

Package / productAffectedFixedSource
Go github.com/canonical/lxd>= 5.0, < 5.0.55.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41osv
Canonical LXD>= 5.0, < 5.0.5; >= 5.21, < 5.21.4; >= 6.0, < 6.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-54286. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-54286.md
Affected: github.com/canonical/lxd >= 5.0, < 5.0.5
Fixed in: 5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41

Steps:
1. Search this machine and project for github.com/canonical/lxd (Go), Canonical LXD: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-54286 being exploited?

There is no confirmed exploitation: CVE-2025-54286 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-54286?

High: CVSS 7.5 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-54286?

github.com/canonical/lxd >= 5.0, < 5.0.5.

Is there a fix for CVE-2025-54286?

Yes. Fixed in 5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41. Upgrade github.com/canonical/lxd to one of 5.0.5, 5.21.4, 6.5, 0.0.0-20250827065555-0494f5d47e41 (or later in the same release line).

How do I check if I'm affected by CVE-2025-54286?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors