ZDI-CAN-26972: 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-CAN-26972?
ZDI-CAN-26972 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix ZDI-CAN-26972?
To mitigate ZDI-CAN-26972, it is recommended to update to the latest version of Langflow that includes patches for this vulnerability.
What versions of Langflow are affected by ZDI-CAN-26972?
ZDI-CAN-26972 affects all versions of Langflow prior to the latest security updates.
Can ZDI-CAN-26972 be exploited without authentication?
Yes, ZDI-CAN-26972 can be exploited by attackers without any required authentication.
What is the main risk associated with ZDI-CAN-26972?
The main risk associated with ZDI-CAN-26972 is the ability for attackers to execute arbitrary code on affected systems, potentially compromising security.