Vulnerability · Published Jan 23, 2026 · Assigned by zdi
CVE-2026-0768Langflow code Code Injection Remote Code Execution Vulnerability
Critical 9.8
In plain English
A critical-severity code injection in Langflow from Langflow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 28.1% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code.
Official description
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.
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- ZDI-26-034 x_research-advisory