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.
{
"cna_assigner": "canonical",
"cwe_ids": [
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140086.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.0"
},
{
"fixed": "4.0.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.0"
},
{
"fixed": "5.0.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.0"
},
{
"fixed": "5.21.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.0"
},
{
"fixed": "6.10.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}