# CVE-2026-105740: Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.07%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-10-05T20:46:18.854Z
- Modified: 2026-10-06T19:17:41.197Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- langflow-ai langflow: < 1.9.0

## References

- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2> (exploit)
- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45> (exploit)
- <https://github.com/langflow-ai/langflow/pull/12290>
- <https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0>

## Sources

- CVE List: [CVE-2026-105740](https://www.cve.org/CVERecord?id=CVE-2026-105740), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-105740](https://nvd.nist.gov/vuln/detail/CVE-2026-105740), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-105740 · Whole record: https://cve.day/CVE-2026-105740.json · Rebuilt by cve.day 2026-11-25T22:59:42.180Z
