Skip to main content

IBM Langflow CVE-2026-9135

| EUVDEUVD-2026-45257 CRITICAL
Code Injection (CWE-94)
2026-07-17 ibm GHSA-mmph-9cw2-f8r6
9.9
CVSS 3.1 · Vendor: ibm
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as flow-creation user
  2. Delivery
    Embed Python in unvalidated ToolGuard CodeInput field
  3. Exploit
    Persist payload in Flow.data (optionally cross-tenant via MCP update_flow_component_field)
  4. Execution
    Invoke guarded tool triggering ToolGuard runtime
  5. Persist
    Execute arbitrary code on backend
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Langflow OSS 1.0.0 ≤1.10.0

Affected Packages

euvd langflow_oss no fix

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

Vendor (ibm) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (ibm).

CVSS VectorVendor: ibm

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

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.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 48% exploitable
Prevalence
Medium
popular open-source LLM/agent workflow builder, common in AI dev but not universal
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

CVE-2026-9198 CRITICAL POC
9.8 Jul 17

Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets any network-reachable attac

CVE-2026-19295 CRITICAL POC
9.9 Aug 28

Authenticated command injection in IBM Langflow OSS 1.0.0 through 1.11.1 lets any logged-in flow user escalate to arbitr

CVE-2026-7873 CRITICAL POC
9.9 Jun 30

Code injection in IBM Langflow OSS versions 1.0.0 through 1.10.0 lets an authenticated user execute arbitrary operating-

CVE-2026-93674 CRITICAL POC
9.8 Oct 07

Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.12.2 lets any attacker who can reach the servi

CVE-2026-18729 HIGH POC
8.8 Aug 28

Remote code execution in IBM Langflow OSS 1.0.0 through 1.11.1 allows a network-accessible authenticated attacker with l

CVE-2026-10561 CRITICAL POC
10.0 Jun 22

Unauthenticated remote code execution in IBM Langflow OSS versions 1.0.0 through 1.9.3 allows attackers to fully comprom

CVE-2026-12940 CRITICAL POC
9.8 Jul 30

Unauthenticated remote code execution in IBM Langflow OSS 1.0.0 through 1.10.1 allows remote attackers to run arbitrary

CVE-2026-9103 CRITICAL POC
9.8 Jul 17

Authentication bypass in IBM Langflow OSS 1.0.0 through 1.10.0 lets an unauthenticated remote attacker retrieve a long-l

CVE-2026-81204 CRITICAL
9.8 Sep 10

Remote code execution in IBM Langflow OSS versions 1.0.0 through 1.11.5 allows an unauthenticated remote attacker to run

CVE-2026-79724 CRITICAL
9.8 Sep 10

Remote OS command execution in IBM Langflow OSS (versions 1.0.0 through 1.11.5) lets remote attackers run arbitrary oper

CVE-2026-7646 MEDIUM POC
6.5 Aug 05

Path traversal in IBM Langflow OSS 1.0.0-1.10.3 exposes arbitrary server filesystem files via a crafted MCP `resources/r

CVE-2026-8476 CRITICAL
9.9 Jul 17

Remote code execution in IBM Langflow OSS 1.0.0 through 1.10.0 allows attackers to run arbitrary code by planting a mali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy