
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-0770 is a critical Remote Code Execution (RCE) vulnerability in Langflow, titled "Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability." It allows unauthenticated remote attackers to execute arbitrary code as root by exploiting improper handling of the exec_globals parameter in the /validate endpoint. The confirmed affected version is Langflow 1.4.2. 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 respond adequately. It carries a CVSS v3.0 base score of 9.8 (Critical) (ZDI Advisory, NVD).
The root cause is classified as CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). The vulnerability exists in Langflow's /validate endpoint, which accepts an exec_globals parameter without adequate sanitization or restriction. An attacker can supply a malicious value to this parameter that causes the application to include and execute functionality from an untrusted source, resulting in arbitrary code execution in the context of the root user. No authentication is required, and the attack is conducted entirely over the network with low complexity. Researchers Peter Girnus, William Gamazo Sanchez, and Alfredo Oliveira of Trend Research discovered and reported the flaw (ZDI Advisory).
Successful exploitation grants an unauthenticated attacker full remote code execution as root on the affected Langflow installation, resulting in complete compromise of confidentiality, integrity, and availability. An attacker can exfiltrate sensitive data (including AI workflow configurations, API keys, and credentials stored in Langflow), modify or destroy application data, and use the compromised host as a pivot point for lateral movement within the network. Given that Langflow is often deployed in AI/ML pipeline environments, the blast radius may extend to connected data sources, model endpoints, and downstream services (ZDI Advisory, NVD).
Multiple public proof-of-concept exploits are available, including a ZDI advisory PoC, a GitHub PoC by affix (published February 7, 2026), and additional PoCs from 0xgh057r3c0n, 0xBlackash, Ez4rd1x1, and diamorphine666 (ZDI Advisory, GitHub PoC). The vulnerability was also added to Exploit-DB (EDB-ID: 52597) and tracked by Sploitus. GreyNoise weekly OAST reports from February 2026 noted scanning activity related to this CVE. The EPSS score is approximately 0.0136 (1.36%). A related Langflow advisory (CVE-2026-5027) was reported by The Hacker News in June 2026, with CISA noting active exploitation of Langflow vulnerabilities in that timeframe (The Hacker News, Duggan USA). Nuclei detection templates were added to ProjectDiscovery's nuclei-templates repository, enabling automated scanning.
/api/v1/validate (or equivalent) endpoint, which accepts the exec_globals parameter. No authentication token is required.exec_globals parameter value that references or injects untrusted code — for example, a Python payload that spawns a reverse shell or executes system commands.POST /api/v1/validate HTTP/1.1
Host: <target>
Content-Type: application/json
{"exec_globals": {"__builtins__": {"__import__": "..."}}, "code": "<malicious_code>"}exec_globals parameter without sanitization, executing the attacker-supplied code in the context of the root user, enabling reverse shell establishment, data exfiltration, or further lateral movement (ZDI Advisory, GitHub PoC)./validate or /api/v1/validate endpoint from external or unknown IP addresses; outbound connections from the Langflow server to attacker-controlled IPs (reverse shell callbacks); anomalous DNS lookups or OAST (Out-of-Band Application Security Testing) callback traffic observed in GreyNoise OAST reports.exec_globals parameter values; errors or stack traces related to dynamic code execution in application logs./tmp; new cron jobs or systemd services created by the Langflow process user (root)./bin/bash, sh, curl, wget, python3 -c); unexpected network connections initiated by the Langflow process.As of the initial disclosure, no vendor patch was available — ZDI published this as a 0-day advisory after the vendor failed to respond over a six-month coordinated disclosure period. The primary recommended mitigation is to restrict network access to Langflow installations, ensuring the validate endpoint is not exposed to untrusted networks or the public internet. Organizations should place Langflow behind a firewall or VPN, apply network-level access controls to limit access to trusted users only, and monitor for exploitation attempts. Defenders should also deploy the available Nuclei detection templates to identify exposed instances and check for indicators of compromise. Users should monitor the Langflow GitHub repository for patch releases and apply them immediately when available (ZDI Advisory, NVD).
The ZDI published the advisory as a 0-day on January 9, 2026, explicitly noting the vendor's failure to respond to repeated follow-ups over six months, which drew attention to Langflow's security responsiveness. The Hacker Wire and Infosec Exchange communities discussed the vulnerability shortly after disclosure, highlighting the unauthenticated root RCE severity (The Hacker Wire). GreyNoise Labs included CVE-2026-0770 in their weekly OAST scanning reports for February 2026, indicating active probing in the wild (GreyNoise OAST). By June 2026, The Hacker News reported on a related Langflow vulnerability (CVE-2026-5027) with CISA noting active exploitation of Langflow flaws, and Duggan USA published a report on three Langflow CVEs in two weeks with associated attacker IPs (The Hacker News, Duggan USA).
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."