Langflow - RCE (CVE-2026-0768)
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.
psychologyCrowdSec Analysis
CVE-2026-0768 is a critical code injection vulnerability in Langflow that allows unauthenticated remote attackers to execute arbitrary Python code through the validate endpoint. Successful exploitation can enable attackers to compromise affected systems with root-level privileges, potentially resulting in data theft, system modification, and complete loss of confidentiality, integrity, and availability.
CrowdSec has been tracking this vulnerability and its exploits since 17th of September 2026.
CrowdSec network data shows that most actors exploiting CVE-2026-0768 rely on broad, untargeted scans with minimal filtering. The activity is largely automated and opportunistic in nature. Additionally, according to week-over-week analysis by CrowdSec, exploitation of CVE-2026-0768 is surging. Attack volumes are spiking well above historical norms, indicating widespread and escalating interest from threat actors. CVE-2026-0768 is currently experiencing high visibility and active exploitation across the internet.
Attackers target the unauthenticated /api/v1/validate/code endpoint with a JSON code parameter containing Python code-injection payloads. The payload abuses default-argument evaluation to invoke exec() and execute arbitrary operating-system commands on the Langflow server.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2026-01-23 |
| Rule Released | 2026-09-17 |
| CrowdSec First Seen | 2026-10-07 |