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

Langflow code Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of the code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-27322.


Mitigations:

Architectural layers (MAESTRO):