llamaCVEVulnerability Intelligence
/
deer-flow

CVE-2026-40518

ByteDance DeerFlow Path Traversal and Arbitrary File Write via Bootstrap Mode

Solo en configuraciones específicasSin parche publicadopath traversal
Descargar PNG JSON
CVSS 4.0
7.1
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N Fuente: CNA
9.1NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición217 dDesde la divulgación, 17 abr 2026, 11:43 a. m.
Detección199 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 parcial. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Modificada
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV
Verificada
17 abr 26
3 nov 26
8 nov 26
16 nov 26
21 nov 26
17 abr 26
11 jun 26
4 ago 26
27 sept 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-40518 divulgada · CVSS 7.1 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Monitoreo Detectada Ingresó al índice
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

ByteDance DeerFlow before commit 2176b2b contains a path traversal and arbitrary file write vulnerability in bootstrap-mode custom-agent creation where the agent name validation is bypassed. Attackers can supply traversal-style values or absolute paths as the agent name to influence directory creation and write files outside the intended custom-agent directory, potentially achieving arbitrary file write on the system subject to filesystem permissions.

Affects DeerFlow builds before commit 2176b2b that create custom agents in bootstrap mode, where agent-name validation is skipped. CVSS rates it 7.1 (high). The facts list no vendor rating or fix.

¿Qué significa?In bootstrap mode, DeerFlow skips the backend check on custom agent names. An agent name containing path traversal or an absolute path can write files outside the custom-agent directory, potentially allowing arbitrary file writes subject to filesystem permissions.
¿Quién está afectado?DeerFlow versions before commit 2176b2b, in setups that create custom agents in bootstrap mode. To check, compare the commit your build comes from with 2176b2b and see whether custom agents are created through bootstrap mode.
¿Qué hacer?Move to commit 2176b2b or later, which is the first commit outside the affected range. The facts do not name a released version that contains the fix.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
DeerFlow versions before commit 2176b2b“Affecting DeerFlow < commit 2176b2b”
02
Bootstrap-mode custom-agent creation, where the agent name validation is bypassed“bootstrap-mode custom-agent creation where the agent name validation is bypassed”
03
Bootstrap mode skips the backend agent-name validation (load_agent_config)“bootstrap mode skipped load_agent_config()”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
deer-flow
Sin parche — — —
Explotación

Arsenal público

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

Registro
EscenarioGENERALVulnCheck
Referencias
Parchehttps://github.com/bytedance/deer-flow/pull/2274
Parchehttps://github.com/bytedance/deer-flow/commit/2176b2bbfccfce25ceee08318813f96d843a13fd
Otrahttps://www.vulncheck.com/advisories/bytedance-deerflow-path-traversal-and-arbitrary-file-write-via-bootstrap-mode

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