CVE-2026-0770 Langflow Inclusion of Functionality from Untrusted Control Sphere

Exploited in the wild Critical 9.8 Published Updated

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.

PackageAffectedFixed in
langflow PyPIAll versions to 1.7.3None
langflow PyPIAll versions to 1.7.3None
langflow PyPIAll versions to 1.7.3None

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.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-g22f-v6f7-2hrh, PYSEC-2026-1525.

Is CVE-2026-0770 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free