CVE-2026-12940

IBM Langflow OSS 1.0.0 through 1.10.1  are vulnerable to unauthenticated remote code execution via environment variable injection in the MCP (Model Context Protocol) stdio launcher. The vulnerability exists in src/lfx/src/lfx/base/mcp/util.py where the DANGEROUS_ENV_VARS blocklist fails to include SHELLOPTS , BASHOPTS , and PS4 environment variables.
References
Link Resource
https://www.ibm.com/support/pages/node/7279995 Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*

History

23 Oct 2026, 22:10

Type Values Removed Values Added
Summary
  • (es) IBM Langflow OSS 1.0.0 hasta 1.10.1 son vulnerables a la ejecución remota de código no autenticada mediante inyección de variables de entorno en el lanzador stdio de MCP (Protocolo de Contexto de Modelo). La vulnerabilidad reside en src/lfx/src/lfx/base/mcp/util.py, donde la lista de bloqueo DANGEROUS_ENV_VARS no incluye las variables de entorno SHELLOPTS, BASHOPTS y PS4.

Information

Published : 2026-07-30 17:16

Updated : 2026-10-23 22:10


NVD link : CVE-2026-12940

Mitre link : CVE-2026-12940

CVE.ORG link : CVE-2026-12940


JSON object : View

Products Affected

langflow

  • langflow
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')