ZDI-CAN-27322: ZDI-26-034: (0Day) 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.
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-0768.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-CAN-27322?
ZDI-CAN-27322 is considered a high severity vulnerability due to its potential for remote code execution.
How do I fix ZDI-CAN-27322?
To resolve ZDI-CAN-27322, update Langflow to the latest version that includes the security patch.
Who is affected by ZDI-CAN-27322?
Any installations of Langflow are affected by ZDI-CAN-27322 regardless of user authentication.
What type of vulnerability is ZDI-CAN-27322?
ZDI-CAN-27322 is classified as a code injection vulnerability that allows for remote code execution.
Is authentication required to exploit ZDI-CAN-27322?
No, authentication is not required to exploit the ZDI-CAN-27322 vulnerability.