CVE-2026-105740
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
No known exploitation. EPSS puts it in the 47th percentile. No fix published yet.
What to do
No fixed build or workaround is published yet. Limit exposure and watch for a patch.
- Langflow-ai LangflowAffected: < 1.9.0Upgrade to: not statedStated by: CVE record
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check your Langflow version — if it is earlier than 1.9.0, you are affected.
- Immediately restrict who can log in and add MCP servers until you upgrade; treat every logged-in user as a potential attacker.
- Upgrade Langflow to version 1.9.0 or later.
- Review existing MCP server configurations for any unexpected or unfamiliar 'Stdio' entries, which may indicate prior compromise.
- If you cannot upgrade right away, disable or block the ability to add Stdio-transport MCP servers entirely.
What it is
From the CVE record
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, any authenticated Langflow user can achieve Remote Code Execution (RCE) on the server by adding an MCP server with the "Stdio" transport. The user-supplied command field is passed directly to bash -c "exec {command}" with zero validation, no allowlisting, and no sandboxing. The command executes immediately when the server list is fetched. Additionally, the env field allows arbitrary environment variable injection (e.g., LD_PRELOAD, PATH override). This vulnerability is fixed in 1.9.0.
In plain language
Written by AI from the recordAny logged-in user of Langflow can take full control of the server just by adding a malicious AI-agent configuration, and attackers are already doing this in the wild — if you run Langflow, treat this as urgent.
Authenticated low-privilege users can achieve unauthenticated-equivalent RCE in Langflow (<1.9.0) because the MCP Stdio transport's command field is passed unsanitized into a shell exec call (CWE-78), with no allowlisting or sandboxing, triggered simply by fetching the server list.
If you're affected
- Full server takeover
- AI workflow/data theft
- Malware or backdoor install
- Operational disruption
- Lateral movement into network
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
0.6% chance of exploitation activity in the next 30 days, which ranks it in the 47th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising, driven by in-the-wild reports.
Lifecycle
6 events over 1 day, from the signal feeds we watch.
- Record updatedrecord updated
- Publishedweakness classified, att&ck mapped, record updated
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scored 9.9 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required LowRequires basic user-level privileges
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
- github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
- github.com/langflow-ai/langflow/pull/12290
And 1 more reference. See all after sign-in
In the news
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Langflow, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI