Browse / MCP and Tool Server Flaws / CVE-2026-6599
Langflow vulnerable to injection
- Class
- MCP and Tool Server Flaws (filed by a model that read the advisory)
- Technique
- Other weaknesses
- Affected
- langflow (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS
- 0.2% chance of exploitation in 30 days
How it works, in short
The X-Forwarded-For header is used unsanitised when generating MCP configuration, so attacker-supplied values are injected into that output. (Our summary, written by a model. The source text is below.)
Details
A vulnerability was detected in langflow-ai langflow up to 1.8.3. The impacted element is the function get_client_ip/install_mcp_config of the file src/backend/base/langflow/api/v1/mcp_projects.py of the component Model Context Protocol Configuration API. Performing a manipulation of the argument X-Forwarded-For results in injection. The attack may be initiated remotely. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6599
- https://gist.github.com/chenhouser2025/a909c47316b7a0948ee68c109ab747a3
- https://github.com/langflow-ai/langflow
- https://vuldb.com/submit/791922
- https://vuldb.com/vuln/358234
- https://vuldb.com/vuln/358234/cti
Source: GitHub Advisory Database, used under CC BY 4.0.