Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as flow-creation user
-
DeliveryEmbed Python in unvalidated ToolGuard CodeInput field
-
ExploitPersist payload in Flow.data (optionally cross-tenant via MCP update_flow_component_field)
-
ExecutionInvoke guarded tool triggering ToolGuard runtime
-
PersistExecute arbitrary code on backend
-
ImpactFull server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with flow-creation privileges (CVSS PR:L) and a deployment that uses the Policies component's ToolGuard integration where allow_custom_components=false is relied upon as the security boundary. The specific abusable primitive is the dynamic CodeInput field storing generated ToolGuard Python (persisted in Flow.data), which is not validated the way node_template["code"]["value"] is; the payload only executes when a guarded tool is actually invoked through the ToolGuard runtime. Cross-tenant escalation additionally requires access to the agentic MCP update_flow_component_field tool, which accepts an attacker-controlled user_id. Limiting factors: an authenticated flow-creation account is needed, and the target must run ToolGuard-guarded tools - however, the misconfigurations AUTO_LOGIN=true and NEW_USER_IS_ACTIVE=true combined with publicly accessible flows substantially lower the authentication barrier. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, base 9.9) reflects network-reachable, low-complexity exploitation requiring only low privileges, with a scope change justified by cross-tenant flow manipulation and full confidentiality/integrity/availability impact from backend RCE - a genuinely high-priority issue rather than an inflated score. No EPSS score, KEV listing, or public POC was provided, so exploitation is not confirmed in the wild and probability data is missing; the SSVC exploitation status is best treated as 'none/POC-unknown' pending better data. The one caveat worth flagging: exploitation does require an authenticated account with flow-creation rights (PR:L), so the practical attack surface narrows to environments that expose Langflow to semi-trusted users - though the described AUTO_LOGIN=true / NEW_USER_IS_ACTIVE=true misconfigurations plus publicly accessible flows can effectively lower that barrier toward unauthenticated. Overall this is a real priority to patch, especially on multi-tenant or internet-exposed deployments. |
| Exploit ScenarioDerived | An authenticated user with flow-creation rights builds a flow using the Policies/ToolGuard component and embeds malicious Python not in the main component code but in a dynamic CodeInput field that escapes validation. When a guarded tool in that flow is later invoked, the ToolGuard runtime executes the attacker's code server-side, yielding arbitrary command execution on the backend; using the MCP update_flow_component_field tool with a spoofed user_id, the attacker can plant the payload into a victim tenant's flow. No public POC is identified at time of analysis, but the low attack complexity makes exploitation straightforward once a foothold account exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Arbitrary Python code execution in IBM Langflow OSS 1.0.0 through 1.10.0 (Langflow versions up to 1.9.2) allows authenticated users with flow-creation privileges to bypass the allow_custom_components=false control via the Policies component's ToolGuard integration. Because validation only inspects the main component code and ignores dynamic CodeInput fields, attackers persist malicious Python in a flow that runs server-side when a guarded tool executes. No public exploit has been identified at time of analysis, but the flaw is IBM-confirmed with a vendor patch and carries a critical 9.9 CVSS due to cross-tenant escalation through the agentic MCP update_flow_component_field tool.
RemediationAI
Patch available per vendor advisory - apply the fixed Langflow OSS release referenced in IBM's advisory at https://www.ibm.com/support/pages/node/7278920 (an exact patched version number is not stated in the provided data and should be taken directly from that advisory rather than assumed). Until patched, reduce risk with specific compensating controls: disable or restrict the Policies/ToolGuard integration so untrusted dynamic CodeInput fields are not executed; harden authentication by setting AUTO_LOGIN=false and NEW_USER_IS_ACTIVE=false to remove the reduced-authentication path, at the cost of requiring explicit user provisioning; restrict or gate the agentic MCP update_flow_component_field tool to prevent attacker-controlled user_id writes into other tenants' flows; and avoid exposing flows publicly, accepting the usability trade-off of tighter access controls. Treat allow_custom_components=false as insufficient on unpatched versions and limit flow-creation privileges to trusted users.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Langflow is an open-source, low-code visual builder for LLM/agent workflows that persists flow graphs (nodes and their template fields) as JSON in Flow.data and executes component Python at runtime. The root cause is CWE-94 (Improper Control of Generation of Code): the security control meant to enforce allow_custom_components=false only validates node_template["code"]["value"] - the primary component source - while the ToolGuard integration stores generated guard logic in separate dynamic CodeInput fields that are never passed through the same validation. Those unvalidated fields are serialized into Flow.data and later compiled/executed server-side by the ToolGuard runtime whenever a guarded tool is invoked. The affected package is identified by CPE cpe:2.3:a:ibm:langflow_oss:*, and the agentic MCP layer's update_flow_component_field tool compounds the issue by trusting an attacker-controlled user_id, allowing writes into other tenants' flows.
Know when Langflow Oss gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable, low-complexity code injection needing an authenticated flow-creator (PR:L); cross-tenant execution crosses a trust boundary (S:C) yielding full backend RCE (C/I/A:H).
Primary rating from Vendor (ibm).
CVSS VectorVendor: ibm
DescriptionCVE.org
IBM Langflow OSS 1.0.0 through 1.10.0 Langflow versions up to 1.9.2 (commit 94981c443d4918517b9e8163d70fc598dc33a32d) contain a code injection vulnerability in the Policies component's ToolGuard integration that bypasses the allow_custom_components=false security control. The vulnerability exists because the validation mechanism only checks the main component source code in node_template["code"]["value"] but fails to validate dynamic CodeInput fields that store generated ToolGuard Python files. Attackers can embed malicious Python code in these unvalidated dynamic fields, which are persisted in Flow.data and later executed server-side when a guarded tool is invoked through the ToolGuard runtime. This allows authenticated users with flow creation privileges to achieve arbitrary Python code execution on the backend despite custom component restrictions. The vulnerability can be escalated through cross-tenant flow manipulation via the agentic MCP update_flow_component_field tool, which accepts attacker-controlled user_id parameters, enabling attackers to inject malicious code into victim users' flows. When combined with publicly accessible flows and specific misconfigurations (AUTO_LOGIN=true, NEW_USER_IS_ACTIVE=true), the attack can be conducted with reduced authentication requirements.
Articles & Coverage 1
Executive ViewAI
IBM Langflow OSS versions 1.0.0 through 1.9.2 contain a critical vulnerability (CVSS 9.9) allowing authenticated users with flow-creation privileges to execute arbitrary Python code on company servers, with no public exploit identified at time of analysis. This flaw enables cross-tenant escalation and poses immediate risk of data theft, server compromise, and unauthorized lateral movement within organizational infrastructure. Patching all affected Langflow instances is critical and time-sensitive.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Langflow Oss
View allUnauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets any network-reachable attac
Authenticated command injection in IBM Langflow OSS 1.0.0 through 1.11.1 lets any logged-in flow user escalate to arbitr
Code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets an authenticated user execute arbitrary operating-
Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.12.2 lets any attacker who can reach the servi
Remote code execution in IBM Langflow OSS 1.0.0 through 1.11.1 allows a network-accessible authenticated attacker with l
Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.9.3 allows attackers to fully comprom
Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.1 allows remote attackers to run arbitrary
Authentication bypass in IBM Langflow OSS 1.0.0 through 1.10.0 lets an unauthenticated remote attacker retrieve a long-l
Remote code execution in IBM Langflow OSS versions 1.0.0 through 1.11.5 allows an unauthenticated remote attacker to run
Remote OS command execution in IBM Langflow OSS (versions 1.0.0 through 1.11.5) lets remote attackers run arbitrary oper
Path traversal in IBM Langflow OSS 1.0.0-1.10.3 exposes arbitrary server filesystem files via a crafted MCP `resources/r
Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows attackers to run arbitrary code by planting a mali
EUVD-2026-45257
GHSA-mmph-9cw2-f8r6
NVD
CVE.org
EPSS
Exploit-DB