llamaCVEVulnerability Intelligence
/
LXD

CVE-2026-66897

Instance template path traversal allows arbitrary host file write as root

Specific setups onlyParche disponiblepath traversal
Descargar PNG JSON
CVSS 3.1
9.9
Crítica
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche4 versiones4.0.13 · 5.0.9 · 5.21.7 · 6.10
Exposición87 dDesde la divulgación, 24 ago 2026, 4:08 a. m.
Detección84 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Evaluación SSVC +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
24 ago 26
25 ago 26
17 nov 26
18 nov 26
19 nov 26
24 ago 26
14 sept 26
6 oct 26
28 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Publicada CVE-2026-66897 divulgada · CVSS 9.9 (CNA)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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.

Affects LXD 6.9 and earlier, per the advisory's listed versions. Fixed in LXD 4.0.13, 5.0.9, 5.21.7, and 6.10.

¿Qué significa?A path traversal flaw in instance templates lets a user write or overwrite any root-owned file on the host as root. This can lead to code execution as host root.
¿Quién está afectado?The advisory lists affected versions as LXD 6.9 and earlier. The affected ranges in the record run from 4.0.0 up to 4.0.13, 5.0.0 up to 5.0.9, 5.21.0 up to 5.21.7, and 6.0 up to 6.10. Compare the installed LXD version against these ranges.
¿Qué hacer?Upgrade to LXD 4.0.13, 5.0.9, 5.21.7, 6.10, or later. The record names no workaround.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
LXD 6.9 and earlier (advisory lists affected versions as <= 6.9)“Tested on 6.9 at commit 852d0b04301d004fc27e1955f278537ad02779f8”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
LXD≥ 4.0.0 < 4.0.13
LXD≥ 5.0.0 < 5.0.9
LXD≥ 5.21.0 < 5.21.7
LXD≥ 6.0 < 6.10
4.0.0
4.0.13
5.0.0
5.0.9
5.21.0
5.21.7
6.0
6.10
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
LXD
Corregida 4.0.13, 5.0.9, 5.21.7, 6.10 — —
Versiones corregidas4.0.135.0.95.21.76.10
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALcanonical
solutionUpgrade to LXD versions 4.0.13, 5.0.9, 5.21.7, 6.10 or later.canonical
Referencias
Fabricantehttps://github.com/canonical/lxd/security/advisories/GHSA-q39m-8fx9-42fv

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.