Critical severity · published Jul 17, 2026
CVE-2026-9135
Policies Component Dynamic CodeInput Fields Bypass Custom Component Validation
9.9
CVSS
0.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 58% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LO
Langflow OSS · IBM
1.0.0 through 1.10.0 · source: vendor
LA
Langflow · Langflow
1.0.0 before 1.10.1 · source: NVD
Affected product
LO
Langflow OSS
IBM
More from Langflow OSS
9.8
CVE-2026-9198
Unauthenticated Remote Code Execution via Auto-Login Bypass and Code Validation
10.0
CVE-2026-10134
Unauthenticated Server-Side RCE via PythonCodeStructuredTool in Public Flows
10.0
CVE-2026-10561
Unauthenticated Remote Code Execution in Langflow OSS PythonREPLComponent via Builtins Injection
9.9
CVE-2026-19295
Langflow is affected by multiple remote code execution vulnerabilities due to insufficient code-execution policy enforcement
9.9
CVE-2026-12946
Remote Code Execution in CUGA Component CodeAgent