Langflow
Langflow: IP Spoofing Bypass via `X-Forwarded-For` Allowing Remote Configuration Write
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1.5.0, < 1.10.3
Fixed in 1.10.3
Mitigation
Upgrade langflow to 1.10.3 or later.
References
- Vendor advisory github.com/langflow-ai/langflow/security/advis…
- Patch github.com/langflow-ai/langflow/pull/13915
- Patch github.com/langflow-ai/langflow/commit/1f39a4b…
2 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.