CVE-2026-86334: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical LXD
Path traversal in the CLI client image export and copy functionality in Canonical LXD from 4.0.2 before 4.0.14, 5.0.10, 5.21.8, and 6.10 on all platforms allows a remote malicious or machine-in-the-middle image server to overwrite arbitrary local files and execute code on the client system via a crafted Content-Disposition header filename parameter during unified image export or copy operations into a local directory target.
AI Analysis
Technical Summary
This vulnerability (CWE-22) exists in Canonical LXD CLI client versions >=4.0.2 <4.0.14, >=5.0.0 <5.0.10, >=5.21.0 <5.21.8, and >=6.0 <6.10. It involves improper limitation of a pathname to a restricted directory during image export and copy operations. A remote malicious or man-in-the-middle image server can craft a Content-Disposition header with a filename parameter that causes path traversal, enabling overwriting of arbitrary local files and potential code execution on the client system.
Potential Impact
An attacker controlling or intercepting the image server can exploit this vulnerability to overwrite arbitrary files on the client system and execute code, potentially compromising the client system's integrity and availability. The CVSS vector indicates network attack vector with high attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and low availability impact.
Mitigation Recommendations
Fixed versions are available: 4.0.14, 5.0.10, 5.21.8, and 6.10. Users should upgrade to these or later versions to remediate the vulnerability. No vendor advisory content was provided explicitly stating otherwise, so patching to these fixed versions is recommended.
CVE-2026-86334: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical LXD
Description
Path traversal in the CLI client image export and copy functionality in Canonical LXD from 4.0.2 before 4.0.14, 5.0.10, 5.21.8, and 6.10 on all platforms allows a remote malicious or machine-in-the-middle image server to overwrite arbitrary local files and execute code on the client system via a crafted Content-Disposition header filename parameter during unified image export or copy operations into a local directory target.
CVSS v3.1
Score 4.2medium
Affected software
Canonical
LXD
pkg:github/LXDRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-22) exists in Canonical LXD CLI client versions >=4.0.2 <4.0.14, >=5.0.0 <5.0.10, >=5.21.0 <5.21.8, and >=6.0 <6.10. It involves improper limitation of a pathname to a restricted directory during image export and copy operations. A remote malicious or man-in-the-middle image server can craft a Content-Disposition header with a filename parameter that causes path traversal, enabling overwriting of arbitrary local files and potential code execution on the client system.
Potential Impact
An attacker controlling or intercepting the image server can exploit this vulnerability to overwrite arbitrary files on the client system and execute code, potentially compromising the client system's integrity and availability. The CVSS vector indicates network attack vector with high attack complexity, no privileges required, user interaction required, unchanged scope, no confidentiality impact, low integrity impact, and low availability impact.
Mitigation Recommendations
Fixed versions are available: 4.0.14, 5.0.10, 5.21.8, and 6.10. Users should upgrade to these or later versions to remediate the vulnerability. No vendor advisory content was provided explicitly stating otherwise, so patching to these fixed versions is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-09-07T08:01:22.941Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aba6c9ef7a7c54106b98908
Added to database: 09/28/2026, 13:33:18 UTC
Last enriched: 09/28/2026, 13:48:48 UTC
Last updated: 09/29/2026, 01:57:22 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.