Skip to main content

Canonical LXD CVE-2025-54286

| EUVDEUVD-2025-32635 HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2025-10-02 security@ubuntu.com GHSA-p8hw-rfjg-689h
7.5
CVSS 4.0 · Vendor: ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated victim to malicious page
  2. Delivery
    Auto-submit crafted text/plain HTML form
  3. Exploit
    Client certificate sent with cross-site request
  4. Execution
    LXD parses form body as JSON
  5. Impact
    Unauthorized container created and started

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation is possible only when: (1) the victim is actively authenticated to LXD via CLIENT CERTIFICATE authentication - OIDC sessions are NOT vulnerable because they use SameSite=Strict cookies; (2) the victim holds permission to create instances in the targeted project; (3) the target project's default profile has a default instance storage pool configured (per the advisory, typical only for projects created after storage pool creation); and (4) the attacker can lure the victim to a malicious web page. The underlying enabler is that LXD's API parses request bodies as JSON even when Content-Type is text/plain or application/x-www-form-urlencoded, permitting form-based CSRF that bypasses fetch/CORS restrictions on client certificates. Limiting factors: mandatory user interaction (victim must visit the attacker page while authenticated), client-cert-specific applicability, and the non-universal storage-pool configuration requirement - all of which substantially narrow realistic exploitation.

Impact

This is a moderate, not top-tier, priority. The published CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:A) correctly captures that the attacker needs no credentials of their own but depends heavily on victim-side conditions: high attack complexity (AC:H), a present attack requirement (AT:P), and active user interaction (UI:A). These braking factors are reinforced by the EPSS score of 0.02% (6th percentile), which is extremely low and indicates no meaningful observed exploitation pressure, and by the absence of a CISA KEV listing. A public PoC does exist (the GHSA advisory ships a working HTML exploit), so weaponization is trivial once prerequisites are met - but the gap between 'PoC available' and 'actively exploited' is wide here, and the low EPSS plus non-KEV status suggests this is not being used at scale. Note a tension worth flagging to defenders: the published vector rates confidentiality, integrity and availability all High (VC:H/VI:H/VA:H), yet the actual demonstrated impact is unauthorized creation/starting of container instances - a clear integrity/availability concern but with no demonstrated data-read path, so the C:H rating appears generous relative to the described behavior. Treat the vendor-supplied impact metrics as conservative worst-case rather than confirmed data exposure.

Exploit ScenarioDerived

An administrator is logged into LXD-UI using client-certificate authentication and, in the same browser, visits an attacker-controlled web page. That page auto-submits a crafted text/plain HTML form to the LXD API, which parses the body as JSON despite the content type, causing a new container instance to be created and started under the victim's privileges without their consent. A working proof-of-concept exploit is publicly available in the Canonical GHSA advisory, making this straightforward to reproduce where prerequisites hold.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Oct 12, 2026

Cross-site request forgery in the LXD-UI component of Canonical LXD 5.0 before 5.0.5, 5.1 before 5.21.4, and 6.0 before 6.5 can make a victim's browser create and start a container without consent when the victim is authenticated to LXD via client certificate authentication and has permission to create instances in the targeted project. Exploitation requires the victim to visit an attacker-controlled page and depends on the target project's default profile having a default instance storage pool; OIDC-authenticated sessions are not affected because they rely on SameSite=Strict cookies. Publicly available exploit code exists, and EPSS is 0.02% (6th percentile). The assessed CVSS:3.1 vector is AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L, indicating moderate priority.

Earlier versions of this analysis (1)
v1 Mar 13, 2026 - 19:12 CVSS 8.8

RemediationAI

Vendor-released patches are available: upgrade LXD 5.0 to 5.0.5, LXD 5.1-5.21.x to 5.21.4, and LXD 6.0.x to 6.5; the Go module fix is 0.0.0-20250827065555-0494f5d47e41. Debian users should apply the updates in DSA-6027-1 and DSA-6028-1, and Ubuntu users should install the medium-priority updates for tracked releases. If patching is delayed, switching LXD-UI from client certificate authentication to OIDC can avoid the vulnerable condition because OIDC sessions use SameSite=Strict cookies, but this requires identity-provider integration and may change login workflows. Additionally, restrict LXD API/UI access (for example, firewall port 8443 to trusted management networks) and limit instance-creation rights to least privilege, though these controls only reduce exposure and do not remove the CSRF risk while client-certificate sessions remain in use. See https://github.com/canonical/lxd/security/advisories/GHSA-p8hw-rfjg-689h, https://pkg.go.dev/vuln/GO-2025-4003, and the Debian advisories.

Affected VersionsENISA

LXD 5.0 <5.0.5
LXD 6.0 <6.5
LXD 5.21 <5.21.4

Affected Packages

go github.com/canonical/lxd fix: 0.0.0-20250827065555-0494f5d47e41, 5.0.5, 5.21.4, 6.5
euvd lxd fix: 5.0.5, 5.21.4, 6.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-352 (CSRF) is the root cause: LXD-UI does not require an unforgeable token for state-changing requests when the browser automatically supplies a client certificate. Unlike OIDC sessions, which use SameSite=Strict cookies, client certificates are not governed by SameSite and are sent with cross-site form submissions. The LXD API's behavior of parsing JSON bodies even when Content-Type is text/plain or application/x-www-form-urlencoded enables an HTML form to smuggle a JSON payload; cross-origin fetch in no-cors mode does not send client certificates, so the practical vector is a form POST. The affected software is Canonical LXD (CPE cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*; Go module github.com/canonical/lxd). Impact is integrity-focused, with high instance-creation/modification impact (VI:H) and low availability impact (A:L), no confidentiality impact (C:N), per the independent CVSS:3.1 assessment; no attacker authentication is required (PR:N), but user interaction is required (UI:R).

Know when Lxd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ubuntu) PRIMARY 7.5 HIGH
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
vuln.today AI 5.9 MEDIUM

Attacker needs no LXD privileges (PR:N) but relies on a victim's authenticated session, required interaction (UI:R) and a specific default-profile storage-pool prerequisite (AC:H); impact is unauthorized instance creation, i.e. integrity, not confidentiality.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:A/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Ubuntu MEDIUM
SUSE 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Primary rating from Vendor (ubuntu).

CVSS VectorVendor: ubuntu

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

5
CVSS changed
Oct 12, 2026 - 15:22 NVD
8.8 (HIGH) 7.5 (HIGH)
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
PoC Detected
Oct 22, 2025 - 15:47 vuln.today
Public exploit code
CVE Published
Oct 02, 2025 - 10:15 cve.org
HIGH 7.5
CVE Published
Oct 02, 2025 - 10:15 nvd
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Organizations using LXD-UI in Canonical LXD face significant risk from CVE-2025-54286, a cross-site request forgery vulnerability rated CVSS 8.8. Attackers could trick authenticated users into performing unintended actions, potentially modifying critical settings or data. Proof-of-concept code is publicly available, increasing the risk of exploitation. Organizations should apply vendor updates when available and consider compensating controls in the interim.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement Content-Security-Policy headers; (2) Enable HttpOnly and SameSite cookie attributes; (3) Deploy WAF XSS/CSRF rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Prevalence
Medium
LXD is a popular Ubuntu-ecosystem container manager; LXD-UI is an opt-in web component
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in Lxd

View all
CVE-2025-54289 HIGH POC
7.4 Oct 02

Privilege escalation in Canonical LXD's operations API (LXD before 6.5 and LXD 5.21 before 5.21.4) allows an authenticat

CVE-2025-54293 HIGH POC
7.1 Oct 02

Authenticated remote attackers with access to the Canonical LXD instance log retrieval or deletion endpoints can read ar

CVE-2025-54287 HIGH POC
7.1 Oct 02

Server-side template injection in Canonical LXD's instance snapshot naming feature lets an authenticated user who can mo

CVE-2025-54290 MEDIUM POC
6.9 Oct 02

Unauthenticated project enumeration in Canonical LXD 5.21.x before 5.21.4 and 6.x before 6.5 lets remote attackers deter

CVE-2025-54291 MEDIUM POC
6.9 Oct 02

Unauthenticated remote attackers can confirm the existence of LXD projects on Canonical LXD by comparing HTTP status cod

CVE-2026-63294 CRITICAL
9.9 Aug 12

Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup arc

CVE-2026-66897 CRITICAL
9.9 Aug 24

Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an

CVE-2026-112816 CRITICAL
10.0 Oct 30

Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese

CVE-2026-63293 CRITICAL
9.9 Aug 12

Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth

CVE-2026-63298 CRITICAL
9.9 Aug 12

Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid

CVE-2026-66898 CRITICAL
9.9 Aug 12

Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write

CVE-2026-62420 CRITICAL
9.9 Aug 12

Authorization bypass in Canonical LXD (6.0 before 6.10, 5.21.x before 5.21.6, 5.0.x before 5.0.8) lets an authenticated

Vendor StatusVendor

Ubuntu

Priority: Medium
lxd
Release Status Version
jammy DNE -
noble DNE -
plucky DNE -
bionic not-affected no web UI
focal not-affected installs LXD snap
upstream released 5.0.5, 5.21.4, 6.5
xenial not-affected no web UI
questing DNE -

Debian

incus
Release Status Fixed Version Urgency
trixie fixed 6.0.4-2+deb13u1 -
trixie (security) fixed 6.0.4-2+deb13u4 -
forky, sid fixed 6.0.5-8 -
(unstable) fixed 6.0.5-1 -
lxd
Release Status Fixed Version Urgency
bookworm fixed 5.0.2-5+deb12u1 -
bookworm (security) fixed 5.0.2-5+deb12u3 -
trixie fixed 5.0.2+git20231211.1364ae4-9+deb13u1 -
trixie (security) fixed 5.0.2+git20231211.1364ae4-9+deb13u3 -
(unstable) fixed (unfixed) -

SUSE

Severity: High
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy