CVE-2026-105741 · GHSA-4f6c-2vvp-gw82
Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write
- Risk score
- 50/100
- CVSS
- 7.1 v3.1
- Exploit chance (30 days)
- 0.2%
- Published
- 5 Oct 2026
Open in the live forecast Today's forecast
What to know
- What it is
- Langflow is a tool for building and deploying AI-powered agents and workflows. From 1.5.0 until 1.10.3, an IP spoofing vulnerability in the Model Context Protocol (MCP) configuration installation endpoint (POST /api/v1/mcp/project/{project_id}/install) allowed authenticated remote attackers to bypass the "local-only" …
- Affected
- langflow (pip) >= 1.5.0, < 1.10.3
- Fix
- Upgrade langflow to 1.10.3 or later.
- Exploitation
- No known exploitation
Story map
At a glance
langflow: Red, act today. Langflow's built-in Python interpreter components — PythonREPLComponent (Python Interpreter) and the legacy PythonREPLToolComponent (Python REPL Tool) — executed arbitrary user- or model-supplied Python code inside flows without effective sandboxing. Because the code ran in-process with the privileges of the Langflow …
The flaws
- CVE-2026-105741: Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write (CVSS 7.1 · EPSS 0%)
- CVE-2026-10561: Langflow: PythonREPLComponent executes unsandboxed Python code, enabling authenticated RCE and privilege escalation (CVSS 9.9 · EPSS 1%)
- CVE-2026-51886: Langflow: Title Authenticated Remote Code Execution in validate_code via Malicious Decorators Description (CVSS 9.8 · EPSS 0%)
- CVE-2026-105697: Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration (CVSS 9.9 · EPSS 0%)
The fix
Upgrade langflow: 1.10.3 · 1.10.1 or later on your release line
Who is exposed: langflow (pip) < 1.10.1
Where it stands
- No known exploitation
Connects to
- Same weakness: CWE-290 (CWE-290). 54 other warnings in 30 days
Why it is Yellow
- CVSS 7.1 high
- On your watchlist: PyPI
Affected packages
| Package | Ecosystem | Vulnerable | Fixed in |
|---|---|---|---|
| langflow | pip | >= 1.5.0, < 1.10.3 | 1.10.3 |
References
- https://github.com/advisories/GHSA-4f6c-2vvp-gw82
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-4f6c-2vvp-gw82
- https://nvd.nist.gov/vuln/detail/CVE-2026-105741
- https://github.com/langflow-ai/langflow/pull/13915
- https://github.com/langflow-ai/langflow/commit/1f39a4b9d62c9dfa1b21fa7f85e23a180c351b72
- https://github.com/langflow-ai/langflow/commit/94859df33acd70b2a1f816e26d68f5e89a7e5639
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.3
- https://github.com/advisories/GHSA-4f6c-2vvp-gw82
Original description
Langflow is a tool for building and deploying AI-powered agents and workflows. From 1.5.0 until 1.10.3, an IP spoofing vulnerability in the Model Context Protocol (MCP) configuration installation endpoint (POST /api/v1/mcp/project/{project_id}/install) allowed authenticated remote attackers to bypass the "local-only" access restriction. By sending a spoofed X-Forwarded-For: 127.0.0.1 header, an attacker could make the server treat the request as originating from localhost, letting them write/overwrite an MCP client configuration file on the server's filesystem. This vulnerability is fixed in 1.10.3.
Last activity 5 Oct 2026. Patch Forecast updates every hour.