Skip to main content

CVE-2026-86334: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical LXD

0
Medium
VulnerabilityCVE-2026-86334cvecve-2026-86334cwe-22
Published: 09/28/2026 (09/28/2026, 13:21:15 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: 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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected software

Canonical

LXD

Affected versions
>=4.0.2 <4.0.14>=5.0.0 <5.0.10>=5.21.0 <5.21.8>=6.0 <6.10
GitHub Actionsmore threats →cve
LXD
pkg:github/LXD
Affected versions
>=4.0.2 <4.0.14>=5.0.0 <5.0.10>=5.21.0 <5.21.8>=6.0 <6.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/28/2026, 13:48:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses