CVE-2026-66898: Path traversal via unvalidated instance name in backup tarball restore enables root file write / RCE

Published Aug 12, 2026
·
Updated

A path traversal vulnerability in LXD allows an attacker to manipulate file system paths during backup import and restore operations. When importing or restoring a backup archive, LXD fails to validate instance and storage volume names contained within the archive metadata. An attacker can exploit this flaw by supplying a crafted backup archive with malicious instance or volume names containing path traversal sequences, potentially allowing file access or overwriting outside the designated restore directory.

Affected Software

1 affected component
Canonical LXD

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 4.0.12
  2. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 5.0.4
  3. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 5.12.2
  4. Upgrade

    Upgrade LXD to a version that resolves this vulnerability.

    Fixed in 6.0

Event History

Aug 12, 2026
CVE Published
via MITRE·08:07 PM
Data Sourced
via MITRE·08:07 PM
RemedyDescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-66898?

CVE-2026-66898 has a severity rating of critical with a score of 9.9.

2

What impact does CVE-2026-66898 have on systems?

CVE-2026-66898 allows an attacker to conduct path traversal attacks leading to root file write and remote code execution.

3

How do I fix CVE-2026-66898?

To fix CVE-2026-66898, ensure that you are using the latest version of Canonical LXD that addresses this vulnerability.

4

What systems are affected by CVE-2026-66898?

CVE-2026-66898 affects Canonical LXD versions prior to the patch that resolves this path traversal vulnerability.

5

How can an attacker exploit CVE-2026-66898?

An attacker can exploit CVE-2026-66898 by manipulating file system paths in backup tarball restore operations without proper validation of instance names.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203