CVE-2026-0770
CRITICAL 9.8CVSS 3.0known exploitedLangflow affected by Remote Code Execution via validate_code() exec()
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.
- Published
- 23 Jan 2026
- Last modified
- 22 Jul 2026
- Assigned by
- zdi-disclosures@trendmicro.com
- NVD status
- Analyzed
- Weakness
- CWE-829
- Also known as
- GHSA-g22f-v6f7-2hrhPYSEC-2026-1525
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-g22f-v6f7-2hrhJSONOSV PYSEC-2026-1525JSON
In CISA's Known Exploited Vulnerabilities catalog since 21 Jul 2026; US federal agencies must fix it by 24 Jul 2026.
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | zdi-disclosures@trendmicro.com (Secondary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | langflow | langflowcpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:* |
<= 1.7.3 | |
| OSV | PyPI | langflow | <= 1.7.3 |
References
- https://www.zerodayinitiative.com/advisories/ZDI-26-036/ · Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-0770 · US Government Resource
- https://github.com/langflow-ai/langflow/releases/tag/v1.9.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-0770 · ADVISORY
- https://github.com/affix/CVE-2026-0770-PoC · WEB
- https://github.com/langflow-ai/langflow · PACKAGE
- https://pypi.org/project/langflow · PACKAGE
- https://github.com/advisories/GHSA-g22f-v6f7-2hrh · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 21 Jul 2026)
- 21 Jul 2026 00:00 UTC · Listed as known exploited