Skip to content

CVE-2026-140086 lxd: Improper link resolution before file access in lxc image export

HighCVSS 7.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

Improper link resolution before file access in the lxc image export command in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows the operator of a malicious public image remote to overwrite files writable by the invoking user, up to executing attacker-chosen commands as that user by replacing a shell startup file, via a one-character remote-supplied image fingerprint that the client accepts with a SHA-256 prefix check and uses as the default export output path, which follows local symlinks planted in the working directory.

Upgrade path

3 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/lxd(Debian 12) = 5.0.2+git20231211.1364ae4-1; = 5.0.2+git20231211.1364ae4-2; = 5.0.2+git20231211.1364ae4-3; = 5.0.2+git20231211.1364ae4-4 +14 more No fix listed No fix yet
debian/lxd(Debian 13) = 5.0.2+git20231211.1364ae4-9; = 5.0.2+git20231211.1364ae4-9+deb13u1; = 5.0.2+git20231211.1364ae4-9+deb13u2; = 5.0.2+git20231211.1364ae4-9+deb13u3 +5 more No fix listed No fix yet
Canonical LXD >= 4.0, < 4.0.16; >= 4.0, < 5.0.12; >= 4.0, < 5.21.10; >= 4.0, < 6.10.2 4.0.16, 5.0.12, 5.21.10, 6.10.2 Fixed

Affected products

ProductAffected versionsFixed in
Canonical LXD >= 4.0, < 4.0.16 4.0.16
Canonical LXD >= 4.0, < 5.0.12 5.0.12
Canonical LXD >= 4.0, < 5.21.10 5.21.10
Canonical LXD >= 4.0, < 6.10.2 6.10.2
debian/lxd(Debian:12) All versions No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-1 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-2 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-3 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-4 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-5 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-6 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-7 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-8 No fix listed
debian/lxd(Debian:12) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:12) = 5.0.2-5 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u1 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u2 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u3 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u4 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u5 No fix listed
debian/lxd(Debian:12) = 5.0.2-5+deb12u6 No fix listed
debian/lxd(Debian:12) = 5.0.2-6 No fix listed
debian/lxd(Debian:13) All versions No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u1 No fix listed
Show 6 more
ProductAffected versionsFixed in
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u2 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u3 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u4 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u5 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u6 No fix listed
debian/lxd(Debian:13) = 5.0.2+git20231211.1364ae4-9+deb13u7 No fix listed

References