Back Home

GitHub Repo

Langflow 1.13.1 Tightens MCP Connection and Credential Boundaries; Local Services Must Be Checked Against an Allowlist

Langflow released version 1.13.1 on November 4, adding MCP destination validation, batch login isolation, and component security fixes. Deployments using local MCP services should review their host allowlists; a backport was also released for the 1.12 branch.

Jorge Andrade from Rio de Janeiro, Brazil · CC BY 2.0 · Image source
zh-Hant

Langflow released version 1.13.1 on November 4, incorporating several security fixes for agent tools and components into a stable release. Version 1.12.9, released the same day, backports related fixes. PyPI also lists the new package, confirming that the update is publicly available. For teams that self-host agent workflows, the most direct impact of this update is tighter trust boundaries for MCP connections and login flows. Official release notes, PyPI package record

MCP HTTP and SSE connections that point to loopback addresses now require an explicit host allowlist. The fix checks the destination before tool discovery and when establishing a session, then uses a protected transport layer that reuses the DNS address that passed validation. Rejected connections should not trigger a separate cleanup request, while successfully established sessions retain their original validation result for cleanup. This extends checks across the connection lifecycle and reduces the risk of the destination being resolved again after validation. Destination policy fix

Another change addresses batch tool calls: HTTP tool exclusion rules must be applied to every action; login requests with an explicitly specified URL must not inherit process credentials; and clients and component registries are scoped to their individual requests. The technical purpose is to prevent batch wrappers or shared state from granting restricted tools additional privileges. Batch login and state isolation fix

Before upgrading, engineering teams should inventory MCP configurations that connect to localhost, add required hosts to LANGFLOW_SSRF_ALLOWED_HOSTS, and regression-test tool discovery, invocation, and session closure. The official documentation also notes that shared deployments need to align connector SSRF validation with internal host policies; upgrading the package does not replace deployment configuration. Validation and network policy documentation

What can currently be confirmed is that the fixes and stable releases are public; the sources reviewed for this article do not provide enough evidence to determine the actual scale of any attacks. Follow-up should track individual security advisories, affected version ranges, and whether existing internal network integrations need adjustment because of stricter validation. 1.12.9 backport release notes

Sources

  1. Langflow 1.12.6 release
  2. Derive flow input schemas without running stored component code — PR #15660
  3. Use Langflow as an MCP server
  4. Langflow 1.13.1 正式發布紀錄
  5. Langflow 1.13.1 套件發行紀錄
  6. MCP HTTP destination policy 修補 #16041
  7. MCP 批次登入與請求狀態隔離 #15978
  8. API keys and authentication
  9. Langflow 1.12.9 回補版本