ZDI-CAN-27497: ZDI-26-037: (0Day) 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.
Other sources
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 ZDI has assigned a CVSS rating of 7.1. The following CVEs are assigned: CVE-2026-0771.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27497?
ZDI-CAN-27497 has been categorized as a critical vulnerability due to its potential for remote code execution.
How do I fix ZDI-CAN-27497?
To mitigate ZDI-CAN-27497, update Langflow to the latest version provided by the vendor as soon as it becomes available.
What systems are affected by ZDI-CAN-27497?
ZDI-CAN-27497 affects installations of Langflow that utilize PythonFunction functionality.
Can ZDI-CAN-27497 be exploited remotely?
Yes, ZDI-CAN-27497 can be exploited remotely by attackers, allowing them to execute arbitrary code.
What are the potential consequences of ZDI-CAN-27497?
The exploitation of ZDI-CAN-27497 could lead to unauthorized access, data breaches, or system compromise.