9.9

CVE-2026-66897: Instance template path traversal allows arbitrary host file write as root

Analyzed
AliasesUBUNTU-CVE-2026-66897DEBIAN-CVE-2026-66897
Published 24-08-2026Last modified 25-08-2026

Vulnerability summary

CVE-2026-66897 is a critical (CVSS 9.9) vulnerability in canonical lxd. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 50.3% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.9/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.60%
0%100%
Low · -0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 24-08-2026
    PublishedVulnerability first disclosed.
  2. 25-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.60%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

Decrease -0.11 pp

From 0.72% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Lxd

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Canonical1 product
  • lxd≥ 4.0.0, < 4.0.13 | ≥ 5.21.0, < 5.21.7 | ≥ 6.0, < 6.10 | < 4.0.13 | ≥ 5.0.0, < 5.0.9 | ≥ 5.1, < 5.21.7 | ≥ 6.0, ≤ 6.9
Debian1 product
  • lxdAll versions (No fix recorded)
Ubuntu1 product
  • lxdAll versions (No fix recorded)

3 vendors · 3 products

References

4 links