CVE-2026-6599: Langflow Injection Vulnerability in Model Context Protocol Configuration API

langflow Updated 05 May 2026

Summary

20/04/2026
No i
Low
6.3

CVE-2026-6599: Langflow vulnerable to injection. Affects langflow versions < 1.8.3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Langflow is an open-source framework designed for building and deploying AI applications. It provides a range of functionalities, including model management and API integration. However, versions up to 1.8.3 have been found to be vulnerable to an injection flaw, specifically in the Model Context Protocol Configuration API, which could allow attackers to manipulate requests and potentially compromise the system.

Vulnerability Detail

A vulnerability was detected in langflow-ai langflow up to version 1.8.3. The issue lies in the function get_client_ip/install_mcp_config located in the file src/backend/base/langflow/api/v1/mcp_projects.py. By manipulating the X-Forwarded-For header, an attacker can perform an injection attack. This vulnerability can be exploited remotely, posing a risk to the integrity and confidentiality of the application. The exploit is now public, and the vendor has not responded to disclosures regarding this issue.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can implement input validation on the X-Forwarded-For header to sanitize any potentially harmful input before processing it. This can help reduce the risk of injection until a patch is applied.

Conclusion

The CVE-2026-6599 vulnerability in langflow poses a significant risk due to its potential for remote exploitation via injection attacks. Users are strongly advised to update to a patched version of the package and implement input validation as a temporary measure. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for langflow →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.3, indicating a medium severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploitation of this vulnerability could lead to unauthorized access, data leakage, or manipulation of application behavior, potentially compromising the entire system.

Yes, any version of langflow above 1.8.3 is considered safe as it contains the necessary patches to address this vulnerability.

If immediate updates are not possible, implement input validation on the X-Forwarded-For header as a temporary workaround to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for langflow.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback