Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Instance template path traversal allows arbitrary host file write as root

CVSS 3.1 9.9 CRITICALCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-66897

Published

A path traversal vulnerability in LXD's instance template processing allows an attacker with container edit permissions, or any user launching a crafted image, to overwrite arbitrary files on the host system as root. When processing target template paths specified in metadata.yaml, LXD validates the path against a confined os.Root directory handle but subsequently opens and creates the file using os.Create with an unconfined string path. This discrepancy between path resolution checks and file creation allows an attacker to escape directory confinement, overwrite root-owned host files, and achieve host root code execution.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-66897

Published

LXD

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "Canonical",
                    "product": "LXD",
                    "packageName": "LXD",
                    "platforms": [
                        "Linux"
                    ],
                    "repo": "https://github.com/canonical/lxd",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "4.0.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "4.0.13"
                        },
                        {
                            "version": "5.0.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "5.0.9"
                        },
                        {
                            "version": "5.21.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "5.21.7"
                        },
                        {
                            "version": "6.0",
                            "status": "affected",
                            "versionType": "semver",
                            "lessThan": "6.10"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 21 Nov 00:19 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current