Summary
CVE-2026-104334 is a critical code injection vulnerability (CWE-94: Improper Control of Generation of Code) affecting IBM Langflow OSS, an open-source visual framework for building AI agents and workflows. The flaw allows a remote, unauthenticated attacker to execute arbitrary code on the host running Langflow due to insufficient validation during the application’s code generation process. It has been assigned a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: Langflow OSS performs insufficient validation of input used to generate and execute code within its workflow/flow-building logic, allowing attacker-supplied data to be interpreted as executable code (CWE-94).
- Trigger conditions: No authentication or user interaction is required to reach the vulnerable code path.
- Attack vector: Network-based, low attack complexity, no privileges required, no user interaction — consistent with a directly exploitable, internet-facing endpoint.
- Impact: Successful exploitation results in arbitrary code execution with the privileges of the Langflow server process, leading to full compromise of confidentiality, integrity, and availability of the host and any data or credentials it can access.
- This flaw was disclosed alongside a broader set of Langflow OSS vulnerabilities in IBM’s security bulletin, including another critical unauthenticated command injection flaw (CVE-2026-93674); CVE-2026-104334 is tracked as a distinct, independent issue.
Affected software
- IBM Langflow OSS versions 1.0.0 through 1.12.2 (inclusive)
Severity
- CVSS v3.1 Base Score: 9.8 (Critical)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: Upgrade Langflow OSS to version 1.12.3 or later (IBM’s remediation release); a subsequent 1.12.4 release is also available and recommended for the latest fixes.
- If immediate patching is not possible: Restrict network exposure of Langflow instances (do not expose the application or its API directly to the internet), place it behind authentication/network access controls, and monitor for anomalous flow-build requests until the upgrade can be applied. IBM has not published alternative workarounds for this specific issue, so patching remains the primary remediation.

