Skip to content
CriticalVulnerability

CVE-2026-105740: Langflow remote code execution through MCP server stdio command field

Identifier
CVE-2026-105740
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.9%

Summary

CVE-2026-105740 affects Langflow versions prior to 1.9.0. Any authenticated user can add an MCP server with the "Stdio" transport, and the user-supplied command field is passed directly to bash -c "exec {command}" with no validation, allowlisting, or sandboxing, so the command runs on the server as soon as the server list is fetched. The env field also permits arbitrary environment variable injection, such as LD_PRELOAD or a PATH override.

Mitigation

Fixed in 1.9.0.