Browse / AI Framework and Platform Flaws / CVE-2026-0770
Langflow affected by Remote Code Execution via validate_code() exec()
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- langflow (PyPI)
- CVSS
- 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
- EPSS
- 62.6% chance of exploitation in 30 days
How it works, in short
Unauthenticated requests to the validation endpoint supply execution globals that the server evaluates, letting attackers run arbitrary code with root privileges. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-0770
- https://github.com/affix/CVE-2026-0770-PoC
- https://github.com/langflow-ai/langflow
- https://www.zerodayinitiative.com/advisories/ZDI-26-036
Source: GitHub Advisory Database, used under CC BY 4.0.