CVE-2026-34046

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.5.1, the `_read_flow` helper in `src/backend/base/langflow/api/v1/flows.py` branched on the `AUTO_LOGIN` setting to decide whether to filter by `user_id`. When `AUTO_LOGIN` was `False` (i.e., authentication was enabled), neither branch enforced an ownership check — the query returned any flow matching the given UUID regardless of who owned it. This allowed any authenticated user to read any other user's flow, including embedded plaintext API keys; modify the logic of another user's AI agents, and/or delete flows belonging to other users. The vulnerability was introduced by the conditional logic that was meant to accommodate public/example flows (those with `user_id = NULL`) under auto-login mode, but inadvertently left the authenticated path without an ownership filter. The fix in version 1.5.1 removes the `AUTO_LOGIN` conditional entirely and unconditionally scopes the query to the requesting user.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*
cpe:2.3:a:langflow:langflow:1.5.0:dev0:*:*:*:*:*:*
cpe:2.3:a:langflow:langflow:1.5.0:dev1:*:*:*:*:*:*
cpe:2.3:a:langflow:langflow-base:*:*:*:*:*:python:*:*

History

26 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) Langflow es una herramienta para construir y desplegar agentes y flujos de trabajo impulsados por IA. Antes de la versión 1.5.1, el asistente ’_read_flow’ en ’src/backend/base/langflow/api/v1/flows.py’ se bifurcaba en la configuración ’AUTO_LOGIN’ para decidir si filtrar por ’user_id’. Cuando ’AUTO_LOGIN’ era ’False’ (es decir, la autenticación estaba habilitada), ninguna rama aplicaba una verificación de propiedad - la consulta devolvía cualquier flujo que coincidiera con el UUID dado, independientemente de quién lo poseyera. Esto permitía a cualquier usuario autenticado leer el flujo de cualquier otro usuario, incluyendo claves API de texto plano incrustadas; modificar la lógica de los agentes de IA de otro usuario, y/o eliminar flujos pertenecientes a otros usuarios. La vulnerabilidad fue introducida por la lógica condicional que estaba destinada a acomodar flujos públicos/de ejemplo (aquellos con ’user_id = NULL’) bajo el modo de inicio de sesión automático, pero inadvertidamente dejó la ruta autenticada sin un filtro de propiedad. La corrección en la versión 1.5.1 elimina la condicional ’AUTO_LOGIN’ por completo y limita incondicionalmente la consulta al usuario solicitante.

Information

Published : 2026-03-27 21:17

Updated : 2026-10-26 22:10


NVD link : CVE-2026-34046

Mitre link : CVE-2026-34046

CVE.ORG link : CVE-2026-34046


JSON object : View

Products Affected

langflow

  • langflow
  • langflow-base
CWE
CWE-639

Authorization Bypass Through User-Controlled Key

CWE-862

Missing Authorization