Impact
IBM Langflow OSS 1.0.0 through 1.10.0 contain a code injection flaw in the Policies component's ToolGuard integration. The flaw allows authenticated users who can create flows to embed malicious Python code in dynamic CodeInput fields, bypassing the allow_custom_components=false security setting. When a guarded tool is invoked, the unvalidated code is executed on the server, giving the attacker arbitrary Python execution on the backend. The vulnerability is a classic code injection (CWE‑94).
Affected Systems
The affected vendor is IBM and the product is Langflow OSS. Version 1.0.0 to 1.10.0, including the 1.9.x series up to commit 94981c443d, are impacted. The vulnerability is present in each release in that range.
Risk and Exploitability
The CVSS score is 9.9, reflecting a severe impact. The EPSS score is <1%, indicating that exploitation is currently unlikely but could be possible if attackers invest effort. The vulnerability is not listed in the CISA KEV catalog, but the high CVSS suggests it should be prioritized. Attackers need authenticated access with flow‑creation rights; cross‑tenant exploitation is possible through the agentic MCP update_flow_component_field tool when it accepts user_id parameters, and can be further simplified if misconfigurations such as AUTO_LOGIN and NEW_USER_IS_ACTIVE are enabled for publicly accessible flows. The risk to systems is therefore high for environments that allow privileged flow creation or that have the noted misconfigurations.
OpenCVE Enrichment