Path traversal in LXD - CVE-2025-54293
Published: October 21, 2025 / Updated: April 9, 2026
Vulnerability details
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within the validLogFileName() function in lxd/instance_logs.go. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Debian Linux
lxd (Debian package)
incus (Debian package)
How to mitigate CVE-2025-54293
lxd (Debian package) - addressed in versions 5.0.2+git20231211.1364ae4-9+deb13u1, 5.0.2-5+deb12u1
incus (Debian package) - update to 6.0.4-2+deb13u1