PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-66897 Canonical CVE debrief

A critical vulnerability in LXD allows an attacker with container edit permissions or launching a crafted image to overwrite arbitrary host files as root, achieving host root code execution. This path traversal issue arises from a discrepancy between path validation and file creation processes. The vulnerability has a high impact on system security, allowing for potential host compromise and data breaches. System administrators and security teams must assess exposure and prioritize remediation to prevent exploitation.

Vendor
Canonical
Product
LXD
CVSS
CRITICAL 9.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-24
Original CVE updated
2026-09-11
Advisory published
2026-08-24
Advisory updated
2026-09-11

Who should care

System administrators and security teams responsible for LXD instances should assess exposure and prioritize remediation. This critical vulnerability requires immediate attention from system administrators and security teams. The potential for host root code execution and overwriting arbitrary host files necessitates prompt remediation and enhanced security controls. System administrators and security teams must work together to ensure that LXD instances

Why it matters

This critical vulnerability in LXD requires immediate attention from system administrators and security teams. The potential for host root code execution and overwriting arbitrary host files necessitates prompt remediation and enhanced security controls.

  • Potential for host root code execution requires immediate attention.
  • Overwriting arbitrary host files can lead to system compromise.
  • Restricting container edit permissions and monitoring instance template processing can help prevent exploitation.
  • Remediation priority is high due to the critical CVSS score.

Technical summary

The vulnerability is caused by a path traversal issue in LXD's instance template processing. An attacker with container edit permissions or launching a crafted image can overwrite arbitrary host files as root, achieving host root code execution. This discrepancy between path validation and file creation processes allows an attacker to escape directory confinement and overwrite root-owned host files. The vulnerability has a critical CVSS score of 9.9, indicating a high severity level. The technical details of the vulnerability are as follows: the LXD instance template processing validates the path against a confined os.Root directory handle but subsequently opens and creates the file using os.Create with an un

Defensive priority

High

Recommended defensive actions

  • Review and update LXD instances to ensure they are running a fixed version.
  • Restrict container edit permissions to trusted users.
  • Monitor LXD instance template processing for suspicious activity.
  • Implement additional security controls to prevent exploitation.
  • Conduct a thorough review of system configurations and security settings.
  • Perform vulnerability scanning and penetration testing to identify potential weaknesses.
  • Develop an incident response plan in case of exploitation.

Evidence notes

The vulnerability is described in the CVE and NVD records, with additional details from a vendor advisory. The issue is caused by a path traversal vulnerability in LXD's instance template processing, which allows an attacker to escape directory confinement and overwrite root-owned host files. The CVE record was published on 2026-08-24T10:16:39.767Z and has not been modified since then. The vendor advisory provides additional information on the vulnerability and recommends updating LXD instances to ensure they are running a fixed.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-66897 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-66897

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-66897 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-66897

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/canonical/lxd/security/advisories/GHSA-q39m-8fx9-42fv

    [email protected] - Vendor Advisory, Exploit

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.