9.9

CVE-2026-66897: canonical lxd Path Traversal

CVSS: 9.9v3.1CriticalAnalyzed
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) Path Traversal vulnerability in canonical lxd. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.9/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.72%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.72%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

+0.05 pp

From 0.67% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.72%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Lxd

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

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