CVE-2026-0770 Langflow Inclusion of Functionality from Untrusted Control Sphere
Remote attackers can execute arbitrary code as root via the validate endpoint without authentication, requiring immediate patching.
- Exploited in the wild
- Since 21 Jul 2026
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-0770?
CVE-2026-0770 is a critical code injection vulnerability in Langflow Langflow, published on 23 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-829
Which versions are affected by CVE-2026-0770?
3 open source packages ship an affected version, including langflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
langflow PyPI | All versions to 1.7.3 | None |
langflow PyPI | All versions to 1.7.3 | None |
langflow PyPI | All versions to 1.7.3 | None |
Products include Langflow Langflow.
How do I fix CVE-2026-0770?
No fix has been published for CVE-2026-0770 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 24 Jul 2026.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-0770 being exploited?
Yes. Attackers have exploited CVE-2026-0770 in the wild since at least 21 Jul 2026.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry, 1 Nuclei template and 7 proofs of concept on GitHub.
Other vulnerabilities in Langflow Langflow
Sources
Also known as GHSA-g22f-v6f7-2hrh, PYSEC-2026-1525.