CVE-2026-9135 Details
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.
A code injection vulnerability has been identified in IBM Langflow OSS versions 1.0.0 through 1.10.0, excluding 1.9.2 (commit 94981c443d4918517b9e8163d70fc598dc33a32d). The issue arises in the Policies component's ToolGuard integration, where the validation mechanism fails to properly check dynamic CodeInput fields that store generated ToolGuard Python files. This oversight allows authenticated users with flow creation privileges to embed malicious Python code in these unvalidated fields, bypassing the 'allow_custom_components=false' security control. The injected code is persisted in Flow.data and executed server-side when the corresponding guarded tool is invoked through the ToolGuard runtime. Additionally, this vulnerability can be escalated through cross-tenant flow manipulation via the agentic MCP update_flow_component_field tool, enabling attackers to inject malicious code into other users' flows. When combined with specific misconfigurations, the attack can be conducted with reduced authentication requirements.
Users are advised to upgrade IBM Langflow OSS to version 1.10.1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://www.ibm.com/support/pages/node/7278920 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| langflow langflow | >= 1.0.0, < 1.10.1 |
CPE
Remediation
| |
| apple macos | All versions |
CPE
Remediation
| |
| linux linux kernel | All versions |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | Initial Analysis | [email protected] |
| Jul 17, 2026 | New CVE Received | [email protected] |