Langflow PythonFunction Code Injection Remote Code Execution Vulnerability.
Date: 2026-01
Affected: langflow/langflow
Attack vector: rce
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-0771
CWE: CWE-94
CVSS: 7.1 (CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H)

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product. The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application. Was ZDI-CAN-27497.


Mitigations:

Architectural layers (MAESTRO):