Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-66897

published critical CVSS 3.1 · 9.9

Instance template path traversal allows arbitrary host file write as root

Published
24 Aug 2026, 09:08:04 UTC
Updated
25 Aug 2026, 03:55:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Canonical — LXD4.0.0 to < 4.0.13 · 5.0.0 to < 5.0.9 · 5.21.0 to < 5.21.7 · 6.0 to < 6.10 · Other versions: unaffected · Platforms: Linux Affected Not stated canonical

Description

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.

en · canonical · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.9 / 10
Severity
critical
Provider
canonical · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Canonical LXD 4.0.0 to < 4.0.13 (affected · semver)5.0.0 to < 5.0.9 (affected · semver)5.21.0 to < 5.21.7 (affected · semver)6.0 to < 6.10 (affected · semver)Default: unaffected canonical · cna

Weaknesses

2
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (canonical · cna)
  • CWE-23 CWE-23: Relative Path Traversal (canonical · cna)

References

1

Provider assertions

2

canonical · cna

Instance template path traversal allows arbitrary host file write as root

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
564973fed74dbfd88a380c72ca2fc55953c4d4ca08a6e68ddbc2a67dc26b6aab
Ingested
23 Sep 2026, 09:26:54 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected