Path traversal in LXD - CVE-2026-135382

 

Path traversal in LXD - CVE-2026-135382

Published: November 27, 2026


Vulnerability identifier: #VU170747
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-135382
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to read and write arbitrary host files as root, compromising the host and its instances, or exhaust daemon memory.

The vulnerability exists due to improper path confinement and missing metadata size limits in LXD storage handling when processing client-controlled data as root. A remote user can use project access to abuse unsafe path handling in backups, images, volumes, and migration, including content-type mismatches and unpacking races, to access host files or supply oversized image or backup metadata to exhaust daemon memory.


Affected software

LXD

How to mitigate CVE-2026-135382

Install security update from vendor's website.

LXD - addressed in versions 4.0.16, 5.0.12, 5.21.10, 6.10.2

External References

Related Security Bulletins