CVE-2026-33017
Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint
En resumen
Langflow permite que cualquier persona ejecute código arbitrario en el servidor a través de un endpoint público enviando definiciones de flujo maliciosas sin necesidad de iniciar sesión. Un atacante puede ejecutar cualquier comando en la máquina que ejecuta Langflow.
Detalle técnico
El endpoint POST /api/v1/build_public_tmp/{flow_id}/flow en Langflow anterior a la versión 1.9.0 acepta un parámetro data opcional conteniendo definiciones de flujo controladas por el atacante, con código Python arbitrario en definiciones de nodos, que se ejecutan vía exec() sin aislamiento. Al no requerir autenticación en este endpoint público, permite ejecución remota de código no autenticada. La vulnerabilidad fue corregida en versión 1.9.0 eliminando la aceptación de datos de flujo suministrados por el atacante en este endpoint.
Resumen generado y traducido por IA a partir de la descripción oficial.
Langflow is a tool for building and deploying AI-powered agents and workflows. In versions prior to 1.9.0, the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data (containing arbitrary Python code in node definitions) instead of the stored flow data from the database. This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution. This is distinct from CVE-2025-3248, which fixed /api/v1/validate/code by adding authentication. The build_public_tmp endpoint is designed to be unauthenticated (for public flows) but incorrectly accepts attacker-supplied flow data containing arbitrary executable code. This issue has been fixed in version 1.9.0.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L
⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.