Instance template path traversal allows arbitrary host file write as root (Canonical LXD)
En bref
- Source
- NVD
- EPSS
- EPSS 0.72 % · centile 54 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- canonical
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | canonical |
| CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H | NVD · security@ubuntu.com (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-64757
- GCVE · GCVE-0-2026-66897
Configurations affectées (CPE NVD)
cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*< 4.0.13cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 5.0.0 < 5.0.9cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 5.1 < 5.21.7cpe:2.3:a:canonical:lxd:*:*:*:*:*:*:*:*≥ 6.0 ≤ 6.9
Produits affectés
| Produit | Versions |
|---|---|
| Canonical · LXD | affected 4.0.0 < 4.0.13 ; affected 5.0.0 < 5.0.9 ; affected 5.21.0 < 5.21.7 ; affected 6.0 < 6.10 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |