{"id":"CVE-2026-105740","published":"2026-10-05T21:16:35Z","modified":"2026-10-06T19:17:41Z","title":"Langflow is a tool for building and deploying AI-powered agents and workflows","vendor":"langflow-ai","product":"langflow","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"Langflow, the tool for building and deploying AI-powered agents and workflows, contains an OS command injection flaw in its MCP server configuration: the command supplied for a server using the \"Stdio\" transport is passed directly to bash without validation, allowlisting, or sandboxing. An attacker with any authenticated Langflow account can run arbitrary commands on the server simply by adding such an MCP server, with the command executing as soon as the server list is fetched, and can also inject environment variables such as LD_PRELOAD or PATH through the env field.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T05:10:41Z"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.01049,"percentile":0.64266,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2026-10-12","exploitedFirstSeen":"2026-10-12","ransomware":false,"evidence":[{"url":"https://previdian.com/CVE-2026-105740","date":"2026-10-12"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0","tags":[]},{"url":"https://github.com/langflow-ai/langflow/pull/12290","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2026-92799","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-92799","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2026-10-05","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105740","provenance":"source"},{"date":"2026-10-12","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://previdian.com/CVE-2026-105740","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":64.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":10.0,"detail":"added 20 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":12.85,"detail":"percentile 0.6427"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.93,"detail":"base score 9.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-langflow-ai-langflow-cve-2026-105697","parents":[{"from":"CVE-2026-105697","to":"CVE-2026-105740","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-w794-rj3p-xv45","via":"related"}]}]}}