A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations, potentially lead...
Description
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations, potentially leading to unauthorized file access or overwriting.
AI Analyst Comment
Remediation
Update Canonical LXD to the latest version. Check the vendor security advisory for specific patch details. Monitor for exploitation attempts and review access logs.
Description Summary:
A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations, potentially leading to unauthorized file access or overwriting.
Executive Summary:
A critical path traversal vulnerability in Canonical LXD allows authenticated attackers to bypass directory restrictions during backup restoration, posing a severe risk of host system compromise.
Vulnerability Details
CVE-ID: CVE-2026-66898
Affected Software: Canonical LXD
Affected Versions: 4.0.0 up to (excluding) 4.0.12, 5.0.0 up to (excluding) 5.0.4, 5.21.0 up to (excluding) 5.21.2, 6.0 up to (excluding) 6.1
Vulnerability: This is a path traversal flaw (CWE-22) occurring during backup import or restore operations. The application fails to validate instance and storage volume names within archive metadata, allowing an authenticated attacker to access or overwrite files outside the intended restore directory.
Business Impact
Successful exploitation allows an attacker to read sensitive configuration files or overwrite critical system binaries on the host. Given the CVSS score of 9.9, this vulnerability represents a critical risk of full container escape and host takeover, potentially leading to total loss of confidentiality, integrity, and availability of the host environment.
Remediation Plan
Immediate Action: Upgrade to LXD version 4.0.12, 5.0.4, 5.12.2, or 6.0.1 (or later) immediately as recommended by the vendor.
Proactive Monitoring: Review system logs for unusual backup import patterns or unexpected file access events originating from the LXD service.
Compensating Controls: Restrict the ability to import or restore backup archives to only trusted administrative users to minimize the attack surface.
Exploitation Status
Public Exploit Available: No
Analyst Notes: As of August 12, 2026, there is no public information indicating active exploitation or a public proof-of-concept for this vulnerability. The flaw is inherently dangerous due to the high privileges required to perform administrative backup operations, but the risk remains theoretical in the absence of published exploit code.
Analyst Recommendation
The severity of this vulnerability necessitates an immediate patching cycle. Administrators should prioritize upgrading all instances of Canonical LXD to the fixed versions listed above to prevent potential host-level exploitation.