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
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").
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).
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | >= 1.5.0, < 1.10.3 | 1.10.3 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- Critical[mcp-atlassian] Authentication bypass in HTTP transport: AtlassianOpaqueTokenVerifier accepts any non-empty tokenmcp-atlassian
- CriticalMySQL MCP Server: Missing Origin/Host Validation in SSE Transport Enables Unauthenticated SQL Execution (DNS Rebinding / Direct Exposure)mysql-mcp-server
- CriticalCross-IdP account takeover via email-only SSO matchingflowise
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
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.