Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-105740

Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
Back to all
CVE

CVE-2026-105740

Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
C
H
U
9.9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105740.json, https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2, https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45, https://nvd.nist.gov/vuln/detail/CVE-2026-105740, https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0, https://github.com/langflow-ai/langflow/pull/12290

Severity

9.9

CVSS Score
0
10

Basic Information

Base CVSS
9.9
EPSS Probability
0.01049%
EPSS Percentile
0.643%
Introduced Version
0,0.8.0rc1,1.8.0.dev43
Fix Available
efbc4a16e639409d938a4883463d27ef0bc637a0,0.9.0,1.9.0.dev20

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading