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.
According to CrowdSec data, while opportunistic exploitation dominates, a portion of threat actors trying to exploit CVE-2026-0768 apply basic targeting methods such as port or service detection. This indicates emerging patterns of selective targeting. Data from the CrowdSec community also indicates a gradual decrease in attacks targeting CVE-2026-0768. While still present in the wild, exploitation levels have dropped noticeably week-over-week. This may signal that the vulnerability is becoming less relevant or that defenses are improving fast enough for attackers to lose interest.
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 |