This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Code injection.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
IBM Langflow OSS 1.0.0 through 1.13.0 Model Context Protocol (MCP) tool-call interface is intended to let authenticated clients run saved flows as tools, with custom component code restricted to administrators when that restriction is enabled. The interface built the stored flow, which executed custom component code, before the administrator-only check was applied. An authenticated attacker without administrator rights could send a tool call with an additional, unexpected argument to run arbitrary code in the server process. This could allow the attacker to access configured secrets and stored data, and to reach internal services.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow an unauthenticated attacker to trigger and execute another user's established flows via an agent-to-agent discovery endpoint.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in code.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in an expression evaluation.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow an authenticated user to execute arbitrary commands with elevated privileges on the system due to improper validation of user supplied input.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow an authenticated user to execute arbitrary commands with normal user privileges on the system due to improper validation of user supplied input.
IBM Langflow OSS 1.0.0 through 1.13.0 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation during the import of arbitrary Python modules.