CVE-2026-105741
CVE-2026-105741 · Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.1 · High · EPSS 0.2% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
langflow
- Versions
- >= 1.5.0, < 1.10.3: Affected
No fix published
langflow PyPI
- Versions
- 1.10.0
- 1.10.0rc0
- 1.10.1
- 1.10.1rc0
- 1.10.1rc3
- 1.10.2
- 1.10.2rc4
- 1.10.3rc0
- 1.5.0
- 1.5.0.post1
- 1.5.0.post2
- 1.5.1
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.8.0
- 1.8.0rc0
- 1.8.0rc1
- 1.8.0rc2
- 1.8.0rc3
- 1.8.0rc4
- 1.8.0rc5
- 1.8.0rc6
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.3rc0
- 1.8.4
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.3rc0
- 1.9.4
- 1.9.5
- 1.9.6
- 1.9.6rc0
- Affected ranges
- ECOSYSTEM: ≥ 1.5.0, < 1.10.3
Update to 1.10.3
Original sources
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-4f6c-2vvp-gw82
- 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://nvd.nist.gov/vuln/detail/CVE-2026-105741