CVE-2026-85526: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical LXD
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.
AI Analysis
Technical Summary
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.
CVE-2026-85526: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Canonical 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
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 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.
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 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.