Langflow affected by Remote Code Execution via validate_code() exec()
HighCVE-2026-0770 · Published Jan 23, 2026 · updated Jul 7, 2026
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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| langflow PyPI | <= 1.7.3 | No fix yet |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-829
- Also known as
- CVE-2026-0770, PYSEC-2026-1525
More Langflow advisories
All Langflow| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Mar 17 | Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint | Critical9.8 | 1.9.0 |
| Feb 27 | Langflow has Remote Code Execution in CSV Agent | Critical9.8 | No fix yet |
| Jan 2 | Langflow Missing Authentication on Critical API Endpoints | High | 1.7.1 |
| Dec 192025 | External Control of File Name or Path in Langflow | High7.1 | 1.7.1 |
| Dec 192025 | Langflow vulnerable to Server-Side Request Forgery | High7.7 | 1.7.1 |
| Dec 62025 | Langflow CORS misconfiguration enables Account Takeover and RCE | Critical8.8 | 1.7.0 |