CVE-2026-107329: Langflow: code injection allows authenticated RCE
HIGHIBM Langflow OSS versions 1.0.0 through 1.12.4 contain a code injection flaw (CWE-94) that lets any authenticated user execute arbitrary code on the server. The CVSS score is 9.9 with a changed scope, so a compromise can reach well beyond the Langflow process into the host and the credentials and connected systems it holds. No public exploit, Nuclei template or KEV listing exists yet, and EPSS is not yet available. Even so, Langflow's code-execution flaws have drawn attacker interest before, and the barrier here is only a low-privilege account. Identify every Langflow instance, upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7293016), restrict access to trusted networks, and rotate any API keys and secrets stored in the platform if exposure is suspected.
What is the risk?
Critical. The attack is network-reachable with low complexity, needs only a low-privilege account and no user interaction, and gives full confidentiality, integrity and availability impact with scope change. Exploitation likelihood today is uncertain because there is no EPSS data, no public exploit, no scanner template and no KEV entry. Risk rises sharply if instances allow open self-registration, share accounts, or are exposed to the internet. Langflow normally stores LLM provider keys, vector database credentials and other secrets, which increases the impact of a compromise. These details come from the NVD description and the CVSS vector. The vendor advisory was not reviewed in depth, so the exact vulnerable component is unconfirmed.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| Langflow | pip | — | No patch |
Do you use Langflow? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Inventory all Langflow deployments and confirm versions; anything from 1.0.0 through 1.12.4 is vulnerable. 2) Upgrade to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7293016). 3) Until patched, remove internet exposure, place Langflow behind a VPN or an authenticating reverse proxy, disable open registration, and review which accounts exist. 4) Run Langflow in a hardened, least-privilege container with restricted egress and no host mounts. 5) Rotate LLM API keys, database credentials and other secrets stored in Langflow if compromise is suspected. 6) Detect by watching for unexpected child processes spawned by the Langflow service, unusual outbound connections, new or modified flows and custom components, and anomalous activity from low-privilege accounts.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-107329?
IBM Langflow OSS versions 1.0.0 through 1.12.4 contain a code injection flaw (CWE-94) that lets any authenticated user execute arbitrary code on the server. The CVSS score is 9.9 with a changed scope, so a compromise can reach well beyond the Langflow process into the host and the credentials and connected systems it holds. No public exploit, Nuclei template or KEV listing exists yet, and EPSS is not yet available. Even so, Langflow's code-execution flaws have drawn attacker interest before, and the barrier here is only a low-privilege account. Identify every Langflow instance, upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7293016), restrict access to trusted networks, and rotate any API keys and secrets stored in the platform if exposure is suspected.
Is CVE-2026-107329 actively exploited?
No confirmed active exploitation of CVE-2026-107329 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-107329?
1) Inventory all Langflow deployments and confirm versions; anything from 1.0.0 through 1.12.4 is vulnerable. 2) Upgrade to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7293016). 3) Until patched, remove internet exposure, place Langflow behind a VPN or an authenticating reverse proxy, disable open registration, and review which accounts exist. 4) Run Langflow in a hardened, least-privilege container with restricted egress and no host mounts. 5) Rotate LLM API keys, database credentials and other secrets stored in Langflow if compromise is suspected. 6) Detect by watching for unexpected child processes spawned by the Langflow service, unusual outbound connections, new or modified flows and custom components, and anomalous activity from low-privilege accounts.
What systems are affected by CVE-2026-107329?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, RAG pipelines, LLM workflow orchestration, Low-code AI application builders, Multi-tenant AI platforms.
What is the CVSS score for CVE-2026-107329?
CVE-2026-107329 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.85%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012Valid AccountsAML.T0049Exploit Public-Facing ApplicationAML.T0050Command and Scripting InterpreterAML.T0055Unsecured CredentialsCompliance Controls Affected
What are the technical details?
Original Advisory
IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation.
Exploitation Scenario
An attacker obtains a low-privilege Langflow account, either through self-registration, a phished user, or reused credentials. They submit crafted input to a code-handling feature, such as a custom component or code validation endpoint, which the server evaluates without proper control. The payload runs with the privileges of the Langflow service and opens a reverse shell. The attacker then reads environment variables and the credential store to take LLM provider keys and vector database credentials, and uses them to reach internal data sources and cloud resources. They may also modify existing flows to keep persistence and silently manipulate AI application outputs.
Weaknesses (CWE)
CWE-94Improper Control of Generation of Code ('Code Injection')PrimaryCWE-94Improper Control of Generation of Code ('Code Injection')CWE-94 — Improper Control of Generation of Code ('Code Injection'): The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- [Architecture and Design] Refactor your program so that you do not have to dynamically generate code.
- [Architecture and Design] Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
Timeline
Related Vulnerabilities
CVE-2026-1056110.0Langflow: auth bypass + unauthenticated RCE (CVSS 10)
Same package: langflowCVE-2026-1013410.0Langflow: unauthenticated RCE via tool_code injection
Same package: langflowCVE-2026-333099.9langflow: Path Traversal enables file access
Same package: langflowCVE-2026-552559.9Langflow: IDOR allows cross-user flow execution
Same package: langflowCVE-2026-78739.9Langflow: authenticated RCE enables credential theft
Same package: langflow