cvelo
P2 · HighCVSS 7.5EPSS 0.5%

lxd: Improper link resolution before file access in lxc image export

  • CVE-2026-140086
  • EUVD-2026-140681

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.

Text from the CVE.org record.

Recommendation

  • Canonical LXD

    • If you run a version from 4.0 to before 4.0.16update to 6.10.2 or laterMajor version change: expect breaking changes
    • If you run a version from 4.0 to before 5.0.12update to 6.10.2 or laterMajor version change: expect breaking changes
    • If you run a version from 4.0 to before 5.21.10update to 6.10.2 or laterMajor version change: expect breaking changes
    • If you run a version from 4.0 to before 6.10.2update to 6.10.2 or laterMajor version change: expect breaking changes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Canonical LXD

    Affected versionsFixed in
    from 4.0 to before 4.0.166.10.2
    from 4.0 to before 5.0.126.10.2
    from 4.0 to before 5.21.106.10.2
    from 4.0 to before 6.10.26.10.2

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.