CVE-2026-107328: Langflow: code injection via eval/exec allows authenticated RCE
HIGHIBM Langflow OSS 1.0.0 through 1.12.4 contains a code injection flaw (CWE-94) where user-controlled input reaches eval/exec, letting any authenticated user run arbitrary code on the Langflow server. The CVSS of 9.9 reflects a scope change: low-privilege access over the network, with no user interaction, can compromise the host and everything it connects to, including LLM API keys, vector stores and downstream data sources. No EPSS score, public exploit, Nuclei template or KEV listing exists yet, so exploitation is unconfirmed. Langflow code-execution flaws have been attractive targets before, and the fix is published in IBM's advisory, so treat this as high priority. Upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7293016), restrict Langflow to trusted networks, and rotate any credentials stored in affected instances.
What is the risk?
Critical. The attack is network-reachable, low complexity and needs only low privileges (any valid account, including self-registered or shared accounts), with no user interaction. Scope is changed, so compromise of the Langflow process extends to the host and connected systems. Current exploitation likelihood is unquantified: EPSS is N/A, there is no public exploit, no scanner template and no KEV entry. Risk rises sharply if instances are internet-exposed, run with open sign-up, or share low-privilege accounts widely. Confidence: MEDIUM, because it rests on the NVD description and the vendor advisory only.
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) Upgrade Langflow OSS beyond 1.12.4 to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7293016). 2) Until patched, remove Langflow from the public internet, place it behind a VPN or an authenticating reverse proxy, and disable open registration. 3) Audit and reduce the accounts that can create or edit flows and custom components. 4) Run Langflow in a container with a non-root user, a read-only filesystem where possible, minimal egress and no cloud-admin identity. 5) Rotate LLM provider keys, database credentials and other secrets reachable from affected hosts. 6) Detection: monitor for unexpected child processes spawned by the Langflow process, outbound connections from the server to unfamiliar hosts, and API calls that submit or modify custom code or component definitions.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-107328?
IBM Langflow OSS 1.0.0 through 1.12.4 contains a code injection flaw (CWE-94) where user-controlled input reaches eval/exec, letting any authenticated user run arbitrary code on the Langflow server. The CVSS of 9.9 reflects a scope change: low-privilege access over the network, with no user interaction, can compromise the host and everything it connects to, including LLM API keys, vector stores and downstream data sources. No EPSS score, public exploit, Nuclei template or KEV listing exists yet, so exploitation is unconfirmed. Langflow code-execution flaws have been attractive targets before, and the fix is published in IBM's advisory, so treat this as high priority. Upgrade to the fixed release listed in the IBM advisory (https://www.ibm.com/support/pages/node/7293016), restrict Langflow to trusted networks, and rotate any credentials stored in affected instances.
Is CVE-2026-107328 actively exploited?
No confirmed active exploitation of CVE-2026-107328 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-107328?
1) Upgrade Langflow OSS beyond 1.12.4 to the fixed version named in the IBM advisory (https://www.ibm.com/support/pages/node/7293016). 2) Until patched, remove Langflow from the public internet, place it behind a VPN or an authenticating reverse proxy, and disable open registration. 3) Audit and reduce the accounts that can create or edit flows and custom components. 4) Run Langflow in a container with a non-root user, a read-only filesystem where possible, minimal egress and no cloud-admin identity. 5) Rotate LLM provider keys, database credentials and other secrets reachable from affected hosts. 6) Detection: monitor for unexpected child processes spawned by the Langflow process, outbound connections from the server to unfamiliar hosts, and API calls that submit or modify custom code or component definitions.
What systems are affected by CVE-2026-107328?
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-107328?
CVE-2026-107328 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 neutralization of code in eval/exec.
Exploitation Scenario
An attacker obtains or registers a low-privilege Langflow account, for example on an instance with open sign-up or through a phished or reused credential. They submit a crafted flow, component or API request whose code or expression parameter is passed to eval/exec without neutralization. The payload runs in the Langflow server process, where the attacker reads environment variables holding LLM API keys and database credentials, opens a reverse shell and then moves to connected vector databases and internal services, exfiltrating proprietary documents indexed for RAG.
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