Skip to main content

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

0
Critical
VulnerabilityCVE-2026-85526cvecve-2026-85526cwe-22
Published: 09/28/2026 (09/28/2026, 13:21:40 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: LXD

Description

Path traversal in the Btrfs storage driver (unpackVolume) in Canonical LXD on Linux allows an authenticated user with instance creation privileges to delete or replace arbitrary files and directories on the host filesystem as root via a crafted subvolumes[].path entry in backup/optimized_header.yaml during a btrfs optimized backup import.

CVSS v3.1

Score 9.9critical

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

Affected software

Canonical

LXD

Affected versions
>=4.0.0 <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.0 <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:00 UTC

Technical Analysis

This vulnerability (CWE-22) exists in the unpackVolume function of the Btrfs storage driver in Canonical LXD. An authenticated user who can create instances can exploit a path traversal flaw by crafting the subvolumes[].path entry in the backup/optimized_header.yaml file during a btrfs optimized backup import. This allows the attacker to delete or replace arbitrary files and directories on the host filesystem with root privileges. The flaw affects LXD versions >=4.0.0 <4.0.14, >=5.0.0 <5.0.10, >=5.21.0 <5.21.8, and >=6.0 <6.10.

Potential Impact

Successful exploitation results in full root-level control over the host filesystem, enabling deletion or replacement of arbitrary files and directories. This can lead to complete system compromise, data loss, or persistent unauthorized access. The CVSS v3.1 score is 9.9 (critical), reflecting the high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Patch your LXD installations to versions at or beyond the fixed releases: 4.0.14, 5.0.10, 5.21.8, and 6.10. Since this is a local privilege vulnerability requiring instance creation privileges, restricting such privileges to trusted users can reduce risk until patched. Patch status is confirmed by the affected version ranges indicating fixed versions. No vendor advisory content was provided, so check Canonical's official security advisories for the latest remediation guidance.

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-04T08:34:29.842Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aba6c9ef7a7c54106b98907

Added to database: 09/28/2026, 13:33:18 UTC

Last enriched: 09/28/2026, 13:48:00 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