Summary
CVE-2026-93674 is a critical code injection vulnerability (CWE-94) affecting IBM Langflow OSS, an open-source platform for building and deploying AI-powered agents and workflows. The flaw allows a remote attacker to execute arbitrary operating system commands due to improper neutralization of special elements used when constructing an OS command, and carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: Langflow’s MCP (Model Context Protocol) servers feature allows a user to register an MCP server configuration whose "command" and "args" values are passed through to the underlying OS command execution without adequate sanitization or an allowlist of permitted commands.
- Trigger conditions: An attacker submits a crafted request to the MCP servers management endpoint (adding or modifying an MCP server configuration), supplying a malicious command/argument payload; the injected command is later executed when the configured MCP server is invoked.
- Attack vector: Network (AV:N), low attack complexity, no user interaction required. Public write-ups and a published exploit module demonstrate exploitation via authenticated API calls, though IBM’s published CVSS vector specifies no privileges required (PR:N).
- Impact: Full compromise of confidentiality, integrity, and availability — arbitrary OS-level code execution in the context of the Langflow server process, which can be leveraged for data theft, lateral movement, or deployment of further malware.
Affected software
- IBM Langflow OSS versions 1.0.0 through 1.12.2 (inclusive)
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Langflow OSS to version 1.12.3 or later (1.12.4 includes additional fixes for related issues) via PyPI or your deployment’s package source.
- If no patch can be applied immediately: Restrict network access to the Langflow management interface and MCP server configuration endpoints to trusted hosts only, require strong authentication for all users able to reach the application, and avoid exposing Langflow instances directly to the internet. No official workaround is published by the vendor beyond upgrading.

