Skip to main content

Path traversal in the btrfs storage driver in Canonical LXD versions 4.0.2 and later (fixed in 4.0.14, 5.0.10, 5.21.8 and 6.10) on Linux allows an… (CVE-2026-85185)

0
Medium
Published: 09/28/2026 (09/28/2026, 14:17:00 UTC)
Source: GCVE Database
Product: lxd

Description

A path traversal vulnerability exists in the btrfs storage driver of Canonical LXD on Linux, affecting versions 4.0.2 and later before fixed releases. An authenticated client with permission to create instances can delete arbitrary files on the host as root. On hosts with a btrfs root filesystem, the attacker can also place malicious content at arbitrary paths, potentially leading to full host compromise. The attack uses crafted subvolume paths containing ../ sequences in backup or migration headers. Fixes are available in versions 4.0.14, 5.0.10, 5.21.8, and 6.10.

CVSS v3.1

Score 9.6critical

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

Affected software

Ubuntu:Pro:16.04:LTSmore threats →ghsa
lxd
pkg:deb/ubuntu/lxd?arch=source&distro=esm-infra-legacy/xenial
Affected versions
=0.20-0ubuntu4=0.21-0ubuntu3=0.21-0ubuntu5=0.22-0ubuntu1=0.22-0ubuntu2=0.23-0ubuntu1=0.23-0ubuntu2=0.23-0ubuntu3=0.24-0ubuntu2=0.24-0ubuntu3=0.24-0ubuntu4=0.25-0ubuntu1=0.26-0ubuntu2=0.26-0ubuntu3=0.27-0ubuntu1=0.27-0ubuntu2=2.0.0~beta1-0ubuntu3=2.0.0~beta1-0ubuntu4=2.0.0~beta2-0ubuntu1=2.0.0~beta2-0ubuntu2=2.0.0~beta3-0ubuntu1=2.0.0~beta3-0ubuntu2=2.0.0~beta3-0ubuntu3=2.0.0~beta3-0ubuntu4=2.0.0~beta4-0ubuntu1=2.0.0~beta4-0ubuntu2=2.0.0~beta4-0ubuntu3=2.0.0~beta4-0ubuntu4=2.0.0~beta4-0ubuntu5=2.0.0~beta4-0ubuntu6=2.0.0~beta4-0ubuntu7=2.0.0~rc1-0ubuntu1=2.0.0~rc1-0ubuntu2=2.0.0~rc1-0ubuntu3=2.0.0~rc2-0ubuntu2=2.0.0~rc2-0ubuntu3=2.0.0~rc3-0ubuntu1=2.0.0~rc3-0ubuntu2=2.0.0~rc3-0ubuntu3=2.0.0~rc3-0ubuntu4=2.0.0~rc4-0ubuntu1=2.0.0~rc5-0ubuntu1=2.0.0~rc6-0ubuntu1=2.0.0~rc6-0ubuntu2=2.0.0~rc7-0ubuntu1=2.0.0~rc7-0ubuntu2=2.0.0~rc8-0ubuntu1=2.0.0~rc8-0ubuntu2=2.0.0~rc8-0ubuntu3=2.0.0~rc8-0ubuntu5=2.0.0~rc8-0ubuntu6=2.0.0~rc8-0ubuntu7=2.0.0~rc9-0ubuntu2=2.0.0~rc9-0ubuntu3=2.0.0~rc9-0ubuntu4=2.0.0~rc9-0ubuntu5=2.0.0-0ubuntu1=2.0.0-0ubuntu2=2.0.0-0ubuntu3=2.0.0-0ubuntu4=2.0.1-0ubuntu1~16.04.1=2.0.2-0ubuntu1~16.04.1=2.0.3-0ubuntu1~ubuntu16.04.2=2.0.4-0ubuntu1~ubuntu16.04.1=2.0.5-0ubuntu1~ubuntu16.04.1=2.0.8-0ubuntu1~ubuntu16.04.1=2.0.8-0ubuntu1~ubuntu16.04.2=2.0.9-0ubuntu1~16.04.1=2.0.9-0ubuntu1~16.04.2=2.0.10-0ubuntu1~16.04.1=2.0.10-0ubuntu1~16.04.2=2.0.11-0ubuntu1~16.04.2=2.0.11-0ubuntu1~16.04.4=2.0.11-0ubuntu1~16.04.4+esm1=2.0.11-0ubuntu1~16.04.4+esm2=2.0.11-0ubuntu1~16.04.4+esm3
Ubuntu:Pro:18.04:LTSmore threats →ghsa
lxd
pkg:deb/ubuntu/lxd?arch=source&distro=esm-infra/bionic
Affected versions
=2.18-0ubuntu6=2.19-0ubuntu1=2.20-0ubuntu3=2.20-0ubuntu4=2.21-0ubuntu1=2.21-0ubuntu2=2.21-0ubuntu3=2.21-0ubuntu4=3.0.0~beta2-0ubuntu3=3.0.0~beta3-0ubuntu3=3.0.0~beta5-0ubuntu2=3.0.0~beta7-0ubuntu1=3.0.0-0ubuntu1=3.0.0-0ubuntu2=3.0.0-0ubuntu3=3.0.0-0ubuntu4=3.0.1-0ubuntu1~18.04.1=3.0.2-0ubuntu1~18.04.1=3.0.3-0ubuntu1~18.04.1=3.0.3-0ubuntu1~18.04.2=3.0.3-0ubuntu1~18.04.2+esm1=3.0.3-0ubuntu1~18.04.2+esm2=3.0.3-0ubuntu1~18.04.2+esm3
Ubuntu:20.04:LTSmore threats →ghsa
lxd
pkg:deb/ubuntu/lxd?arch=source&distro=focal
Affected versions
=1:0.7=1:0.8=1:0.9=1:0.10
Ubuntu:Pro:24.04:LTSmore threats →ghsa
incus
pkg:deb/ubuntu/incus?arch=source&distro=esm-apps/noble
Affected versions
=0.4-1ubuntu1=0.5.1-1=0.5.1-3=0.6-1=6.0.0-1=6.0.0-1ubuntu0.1=6.0.0-1ubuntu0.2=6.0.0-1ubuntu0.2+esm1=6.0.0-1ubuntu0.3=6.0.0-1ubuntu0.3+esm1=6.0.0-1ubuntu0.3+esm2=6.0.0-1ubuntu0.3+esm3
Ubuntu:26.10more threats →ghsa
incus
pkg:deb/ubuntu/incus?arch=source&distro=stonking
Affected versions
=6.0.5-8=7.0.1-5
Ubuntu:Pro:26.04:LTSmore threats →ghsa
incus
pkg:deb/ubuntu/incus?arch=source&distro=esm-apps/resolute
Affected versions
=6.0.4-2=6.0.5-8=6.0.5-8ubuntu0.26.04.1~esm1

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: 10/17/2026, 23:26:57 UTC

Technical Analysis

CVE-2026-85185 describes a path traversal vulnerability in the btrfs storage driver of Canonical LXD on Linux. Authenticated clients authorized to create instances within a project can exploit this flaw by sending crafted subvolume paths containing directory traversal sequences (../) in either the optimized_header.yaml of a btrfs backup or the btrfs migration header. This allows deletion of arbitrary files on the host with root privileges. Additionally, on hosts where the root filesystem is btrfs, the attacker can place attacker-controlled content at arbitrary host paths, enabling full host compromise. The vulnerability affects LXD versions 4.0.2 and later until fixed in 4.0.14, 5.0.10, 5.21.8, and 6.10.

Potential Impact

An authenticated user with instance creation permissions can delete arbitrary files on the host as root, which can disrupt system operations or cause denial of service. On btrfs root filesystem hosts, the attacker can also write arbitrary files to the host, leading to full host compromise. This elevates the attacker's privileges from container-level to root on the host system.

Mitigation Recommendations

Fixes for this vulnerability are available in LXD versions 4.0.14, 5.0.10, 5.21.8, and 6.10. Users should upgrade to one of these fixed versions to remediate the issue. There is no indication that temporary mitigations or workarounds are available or recommended. Applying the official fixes is the advised remediation.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-85185
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:26.10","Ubuntu:Pro:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f5572cdf04f65665e948

Added to database: 10/17/2026, 22:23:19 UTC

Last enriched: 10/17/2026, 23:26:57 UTC

Last updated: 10/17/2026, 23:26:57 UTC

Views: 2

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