Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure authenticated victim to malicious page
-
DeliveryAuto-submit crafted text/plain HTML form
-
ExploitClient certificate sent with cross-site request
-
ExecutionLXD parses form body as JSON
-
ImpactUnauthorized 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
Affected Packages
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
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
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.
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Primary rating from Vendor (ubuntu).
CVSS VectorVendor: ubuntu
Lifecycle Timeline
5DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Privilege escalation in Canonical LXD's operations API (LXD before 6.5 and LXD 5.21 before 5.21.4) allows an authenticat
Authenticated remote attackers with access to the Canonical LXD instance log retrieval or deletion endpoints can read ar
Server-side template injection in Canonical LXD's instance snapshot naming feature lets an authenticated user who can mo
Unauthenticated project enumeration in Canonical LXD 5.21.x before 5.21.4 and 6.x before 6.5 lets remote attackers deter
Unauthenticated remote attackers can confirm the existence of LXD projects on Canonical LXD by comparing HTTP status cod
Privilege escalation to host root in Canonical LXD occurs when the container manager unpacks crafted image or backup arc
Host root code execution in Canonical LXD arises from a path-traversal flaw in instance template processing, letting an
Improper certificate validation in the HTTPS API listener of Canonical LXD lets an unauthenticated remote attacker prese
Arbitrary host file read and write in Canonical LXD occurs because the image import/unpack routine does not verify wheth
Canonical LXD's NVIDIA GPU passthrough configuration handler fails to sanitize newline characters in user-supplied `nvid
Path traversal in Canonical's LXD container and VM manager allows a user with backup import/restore privileges to write
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
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allVendor StatusVendor
Ubuntu
Priority: Medium| 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
| 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 | - |
| 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 |
EUVD-2025-32635
GHSA-p8hw-rfjg-689h
NVD
CVE.org
EPSS
Exploit-DB