CVE-2026-0770
Homebrew vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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.

Exploitation steps

  1. Reconnaissance: Identify internet-facing Langflow instances (version 1.4.2) using tools like Shodan, Censys, or Nuclei with the available CVE-2026-0770 detection template. Look for exposed Langflow web interfaces, typically running on port 7860 or 3000.
  2. Identify the validate endpoint: Confirm the target exposes the /api/v1/validate (or equivalent) endpoint, which accepts the exec_globals parameter. No authentication token is required.
  3. Craft malicious payload: Construct an HTTP POST request to the validate endpoint with a malicious exec_globals parameter value that references or injects untrusted code — for example, a Python payload that spawns a reverse shell or executes system commands.
  4. Send the exploit request: Deliver the crafted request to the target endpoint. Example structure:
    POST /api/v1/validate HTTP/1.1
    Host: <target>
    Content-Type: application/json
    
    {"exec_globals": {"__builtins__": {"__import__": "..."}}, "code": "<malicious_code>"}
  5. Achieve root code execution: The server processes the 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).

Indicators of compromise

  • Network: Unexpected HTTP POST requests to Langflow's /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.
  • Logs: Langflow application logs showing POST requests to the validate endpoint with unusual or encoded exec_globals parameter values; errors or stack traces related to dynamic code execution in application logs.
  • File System: Unexpected new files (web shells, scripts, binaries) written to the Langflow installation directory or /tmp; new cron jobs or systemd services created by the Langflow process user (root).
  • Process: Unusual child processes spawned by the Langflow Python process (e.g., /bin/bash, sh, curl, wget, python3 -c); unexpected network connections initiated by the Langflow process.
  • Threat Intelligence: IPs associated with active Langflow exploitation campaigns documented by CISA and Duggan USA in May–June 2026 (Duggan USA, GreyNoise OAST).

Mitigation and workarounds

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).

Community reactions

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).

Additional resources


SourceThis report was generated using AI

Related Homebrew vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management