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

GHSA-F7XP-22PH-V444

Incus guest-API image export ignores the guest's project, exposing other projects' images

Parche disponible
Descargar PNG JSON
CVSS 3.1
6.5
Media
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónv7.6.0
Exposición20 dDesde la divulgación, 29 oct 2026, 5:14 p. m.
Detección20 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
29 oct 26
19 nov 26
29 oct 26
4 nov 26
9 nov 26
14 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-F7XP-22PH-V444 divulgada · CVSS 6.5 (GitHub)
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

The `/dev/incus` guest-API image export handler forwards the guest-controllable `project` query parameter straight through to the image export logic, without pinning it to the guest instance's own project. For a guest request the permission check carries no auth context and falls through to the public branch, whose only gate is that the image is public or cached. A container root with the guest-API image entitlement can therefore export any public or cached image of any project it names — including cached non-public images originally pulled from authenticated remotes into other projects.

Details

The guest-API export handler forwards the request as-is:

cmd/incusd/dev_incus.go:99    devIncusImageExport handler
cmd/incusd/dev_incus.go:109   r.RemoteAddr = "@dev_incus"
cmd/incusd/dev_incus.go:111   imageExport(d, r)

`imageExport` reads the project from the guest-controllable query parameter, and for a `@dev_incus` request the only remaining gate is public-or-cached:

cmd/incusd/images.go:4469        projectName := request.ProjectParam(r)   // from ?project=
cmd/incusd/images.go:4505-4513   @dev_incus branch
cmd/incusd/images.go:4511        if !imgInfo.Public && !imgInfo.Cached { return NotFound }

Because the guest controls `?project=` and the export never pins the project to the instance, any `Public || Cached` image in any project is reachable.

Proof of concept

Code-chain verified (not executed). A container with `security.guestapi.images=true` issues, over the `/dev/incus` socket:

GET /1.0/images/<fingerprint>/export?project=<other-project>

for a fingerprint of a cached image in another project, and receives the image contents.

Impact

A container root with the guest-API image entitlement can read image objects from projects other than its own, including cached non-public images pulled from authenticated remotes. This is a management-plane authorization-scope defect, not a container escape: the guest stays confined to its own filesystem and gains only read access to image objects the server already caches.

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

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
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-f7xp-22ph-v444

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