llamaCVEVulnerability Intelligence
/
nanobot

CVE-2026-48716

nanobot: Path traversal via unsanitized WhatsApp document fileName enables arbitrary file write

UnclearSin parche publicadopath traversal
Descargar PNG JSON
CVSS 3.1
8.7
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición153 dDesde la divulgación, 18 jun 2026, 1:46 p. m.
Detección151 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
18 jun 26
22 jun 26
17 nov 26
18 nov 26
19 nov 26
18 jun 26
27 jul 26
3 sept 26
11 oct 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-48716 divulgada · CVSS 8.7 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
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

nanobot is a personal AI assistant. In versions 0.1.5.post3 and prior, the WhatsApp bridge in bridge/src/whatsapp.ts constructs a filesystem path using the fileName field from an incoming WhatsApp document message without sanitization. The WhatsApp bridge downloads media attachments and writes them to disk using a filename derived from the sender's message via documentMessage.fileName, which is concatenated with a prefix and its raw value is passed directly to path.join(mediaDir, outFilename). Node.js path.join resolves .. components, allowing an attacker to escape the intended media/ directory by sending a document with a crafted fileName such as ../../../.ssh/authorized_keys. Because the attacker also controls the file content (the downloaded buffer), this is a write-anywhere primitive — both path and content are attacker-controlled. A fix for this issue is planned for version 0.1.5.post4.

Affects nanobot 0.1.5.post3 and earlier where the WhatsApp bridge downloads and writes incoming media attachments to disk. No fixed version is listed in the checked facts.

¿Qué significa?The WhatsApp document fileName is not sanitized, so a crafted name can point the write outside the intended folder. An attacker can then write attacker-controlled bytes to any path the nanobot process can reach, such as overwriting ~/.ssh/authorized_keys.
¿Quién está afectado?Versions up to and including 0.1.5.post3 are affected, in setups where the WhatsApp bridge downloads and writes media attachments. To check, compare the installed nanobot version with 0.1.5.post3 and confirm whether the WhatsApp bridge is in use.
¿Qué hacer?The checked facts do not list a fixed version or vendor patch ids, so no upgrade target can be named from them. Check the vendor's advisory for a fix before relying on any version.
no-patchThe checked facts name no workaround. Limiting the WhatsApp bridge, which is the feature that writes incoming media to disk, is the only way the facts point to reducing exposure while no fix is available.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
nanobot WhatsApp bridge downloads and writes incoming media attachments to disk“The WhatsApp bridge downloads media attachments and writes them to disk”
¿Quién debe revisar?Operators running nanobot 0.1.5.post3 or earlier with the WhatsApp bridge enabled to download media attachments
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:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
nanobot≤ 0.1.5.post3
nanobot (bridge)≤ 0.1.5.post3
0.1.5.post3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
nanobot
Sin parche — — —
npmnanobot (bridge)
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/HKUDS/nanobot/security/advisories/GHSA-3f63-vcp3-hvqr

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