Summary
CVE-2026-81204 is a critical code injection vulnerability in IBM Langflow OSS, an open-source visual framework for building AI agents and RAG pipelines. The flaw allows a remote, unauthenticated attacker to execute arbitrary code during graph construction, and it carries a CVSS v3.1 base score of 9.8 (Critical).
Technical details
- Root cause: incomplete code security controls and missing execution guards during graph construction, allowing attacker-supplied input to be evaluated as code (CWE-94: Improper Control of Generation of Code).
- Trigger conditions: an attacker submits crafted input that is processed while a Langflow graph is being built/constructed.
- Attack vector: network-based, no authentication or privileges required, no user interaction needed.
- Impact: full compromise of confidentiality, integrity, and availability of the affected Langflow instance, enabling arbitrary code execution on the host.
Affected software
- IBM Langflow OSS versions 1.0.0 through 1.11.5 (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.11.6 or later, available via PyPI.
- If no patch: No vendor-provided workarounds are available; restrict network exposure of Langflow instances (do not expose to the public internet), place them behind authentication and network access controls, and monitor for anomalous graph-construction/execution activity until the patch is applied.

