UTC
High

Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write

CVE-2026-105741 · GHSA-4f6c-2vvp-gw82 · published 2026-10-07

Severity
High
CVSS score
7.1
Chance of exploitation (EPSS)
0.24%
Fixed in
1.10.3
  • Exploitation Public proof of concept
  • Automatable No
  • Technical impact Partial
  • CISA SSVC
What it is

Authenticated Remote Configuration Write to one of a fixed set of IDE/MCP client config files on the host. Could be leveraged to: Inject a malicious MCP server definition into Cursor/Windsurf/Claude Desktop config, so a local developer who later opens that IDE on the host connects to an attacker-controlled MCP server. Disrupt or corrupt the existing MCP configuration for those tools. Bypass an intended network-boundary control ("local-only").

What to do

Upgrade langflow to 1.10.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.

This exact bypass (single-line, comma-separated X-Forwarded-For spoofing, default configuration) is fixed as of: Fix PR: langflow-ai/langflow#13915 — "fix(security): stop trusting X-Forwarded-For for the MCP install locality check", landed as part of the broader hardening effort in langflow-ai/langflow#13530. Fix: getclientip now uses the real TCP peer (request.client.host) by default and ignores X-Forwarded-For entirely unless the operator has explicitly opted in via the ratelimittrustproxy setting (default False); when opted in, it takes the rightmost entry, mirroring . Released in: v1.11.0, and backported to v1.10.3 (langflow-ai/langflow#14071).

Affected
PackageRegistryAffectedFixed in
langflowPyPI>= 1.5.0, < 1.10.31.10.3

The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.

Sources: GitHub Advisory Database, reviewed and malware advisories (CC BY 4.0, https://github.com/advisories); advisories published by Cursor (https://github.com/cursor/cursor/security/advisories); advisories published by OpenClaw (https://github.com/openclaw/openclaw/security/advisories); advisories published by vLLM (https://github.com/vllm-project/vllm/security/advisories); advisories published by Open WebUI (https://github.com/open-webui/open-webui/security/advisories); advisories published by n8n (https://github.com/n8n-io/n8n/security/advisories); advisories published by Flowise (https://github.com/FlowiseAI/Flowise/security/advisories); advisories published by Langflow (https://github.com/langflow-ai/langflow/security/advisories); advisories published by the MCP Python SDK project (https://github.com/modelcontextprotocol/python-sdk/security/advisories); advisories published by MLflow (https://github.com/mlflow/mlflow/security/advisories); CISA Known Exploited Vulnerabilities catalog (CC0). Data as of 2026-11-22. ShieldMap describes how each problem works and how to fix it; it does not publish exploit code. Report a correction to [email protected].