llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/lxc/incus/v7/cmd/incusd

GHSA-3WXW-5GH2-J2X2

Container configuration injection through OCI image config and oci.* keys

Parche disponible
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: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónv7.6.0
Exposición21 dDesde la divulgación, 29 oct 2026, 5:19 p. m.
Detección20 dDesde 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 +1
29 oct 26
19 nov 26
20 nov 26
29 oct 26
4 nov 26
9 nov 26
14 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-3WXW-5GH2-J2X2 divulgada · CVSS 9.9 (GitHub)
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

Values taken from an OCI image's `config.json`, its environment, entry
point and working directory, are written into the generated LXC
configuration without validation. The same applies to the
`oci.entrypoint` and `oci.cwd` instance keys. As that configuration is
line based, a value containing a line break ends the directive and
whatever follows is parsed as additional LXC configuration, including
hooks that liblxc runs as root on the host. A line break in the
configuration key name reaches the same parser.

The tmpfs mount definitions of an OCI image are also turned into
`lxc.mount.entry` lines from attacker-controlled destination and option
fields, which can be crafted to add further mount fields and bind-mount
host paths into the container.

Impact

Anyone who can launch an instance from an image they control, or edit
the `oci.entrypoint` or `oci.cwd` keys of an OCI container, can run
arbitrary commands as root on the host, or bind-mount arbitrary host
paths into the container. This includes users confined to a restricted
project.

Since 7.5.0, `config.json` was also parsed for any image carrying such a
file rather than only for OCI images, so a plain imported image tarball
could reach the same code path.

Workarounds

Only allow trusted image sources. For restricted projects,
`restricted.images.servers` limits where images can be pulled from but
does not prevent importing a local image tarball.d

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
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
github.com/lxc/incus/v7/cmd/incusd< v7.6.0
v7.6.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Gogithub.com/lxc/incus/v7/cmd/incusd
Corregida v7.6.0 — —
Versiones corregidasv7.6.0
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/lxc/incus/security/advisories/GHSA-3wxw-5gh2-j2x2

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