ZDI-26-035: (0Day) Langflow eval_custom_component_code Eval 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 implementation of evalcustomcomponentcode function. 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 the current process.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 9.8. The following CVEs are assigned: CVE-2026-0769.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-26-035?
ZDI-26-035 has a high severity rating due to its potential for remote code execution.
How do I fix ZDI-26-035?
To fix ZDI-26-035, update Langflow to the latest version that addresses this vulnerability.
What types of attacks can exploit ZDI-26-035?
ZDI-26-035 can be exploited through eval injection, allowing attackers to execute arbitrary code remotely.
Is authentication required to exploit ZDI-26-035?
No, authentication is not required to exploit ZDI-26-035, making it particularly dangerous.
What versions of Langflow are affected by ZDI-26-035?
All versions of Langflow are susceptible to the ZDI-26-035 vulnerability.