DEBIAN-CVE-2026-66897

Source
https://security-tracker.debian.org/tracker/CVE-2026-66897
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66897.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-66897
Upstream
Published
2026-08-24T10:16:39Z
Modified
2026-09-12T08:47:26Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:12 / lxd

Package

Name
lxd
Purl
pkg:deb/debian/lxd?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.2-5
5.0.2-5+deb12u1
5.0.2-5+deb12u2
5.0.2-5+deb12u3
5.0.2-5+deb12u4
5.0.2-5+deb12u5
5.0.2-5+deb12u6
5.0.2-6
5.0.2+git20231211.1364ae4-1
5.0.2+git20231211.1364ae4-2
5.0.2+git20231211.1364ae4-3
5.0.2+git20231211.1364ae4-4
5.0.2+git20231211.1364ae4-5
5.0.2+git20231211.1364ae4-6
5.0.2+git20231211.1364ae4-7
5.0.2+git20231211.1364ae4-8
5.0.2+git20231211.1364ae4-9

Ecosystem specific

{
    "urgency": "end-of-life"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66897.json"

Debian:13 / lxd

Package

Name
lxd
Purl
pkg:deb/debian/lxd?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.0.2+git20231211.1364ae4-9
5.0.2+git20231211.1364ae4-9+deb13u1
5.0.2+git20231211.1364ae4-9+deb13u2
5.0.2+git20231211.1364ae4-9+deb13u3
5.0.2+git20231211.1364ae4-9+deb13u4
5.0.2+git20231211.1364ae4-9+deb13u5
5.0.2+git20231211.1364ae4-9+deb13u6
5.0.2+git20231211.1364ae4-9+deb13u7

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-66897.json"