Langflow
Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability
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 and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- 1.4.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 16 days after publication; added to CISA KEV 179 days after publication. First PoC: affix/CVE-2026-0770-PoC (created 7 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.6 PoCs · 4 informational
PoCs 6
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| affix/CVE-2026-0770-PoC | 7 Feb 2026 +16 d | 7 | PoC |
| 0xgh057r3c0n/CVE-2026-0770 | 24 Feb 2026 +33 d | 1 | PoC |
| Yetazyyy/CVE-2026-0770 | 8 Mar 2026 +44 d | 0 | PoC |
| Ez4rd1x1/CVE-2026-0770 | 15 May 2026 +112 d | 0 | PoC |
| diamorphine666/CVE-2026-0770 | 23 May 2026 +121 d | 0 | PoC |
| razureink/cve-2026-0770-langflow_rce_reproduction | 23 Jul 2026 +181 d | 0 | PoC |
Informational 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| samael0x4/CVE-2026 | 15 Jan 2026 −7.3 d | 1 | Informational · list |
| 0xBlackash/CVE-2026-0770 | 3 Apr 2026 +70 d | 1 | Informational · detection |
| 0xredash/CVE-2026-0770 | 3 Apr 2026 +70 d | 1 | Informational · detection |
| ashrafzaryouh/CVE-2026-0770 | 3 Apr 2026 +70 d | 1 | Informational · detection |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Langflow 1.3.0 - Remote Code Execution | 29 May 2026 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Langflow Unauthenticated RCE (validate endpoint) (exploit/multi/http/langflow_rce_cve_2026_0770) | unknown | 14 Nov 2026 |
| nuclei template | nuclei template: Langflow < 1.3.0 - Remote Code Execution via validate_code() exec() | 20 Feb 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 6 PoC reposPOST /api/v1/login
- Body markers
username=langflowpassword=langflowusername=password=inapplication/x-www-form-urlencoded- Ports
- 7860
- Seen in
- 3 repos: 0xgh057r3c0n/CVE-2026-0770, affix/CVE-2026-0770-PoC, diamorphine666/CVE-2026-0770
- Evidence
- 0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.py:70 0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.yaml:33 affix/CVE-2026-0770-PoC/nuclei-template/CVE-2026-0770.yaml:33 affix/CVE-2026-0770-PoC/poc.py:23 diamorphine666/CVE-2026-0770/CVE-2026-0770.py:30
POST /api/v1/validate/code
- Key headers
Authorization: Bearer {var}Authorization: Bearare {var}- Body markers
"code":"'""code""username""password"inapplication/json- Ports
- 7860
- Seen in
- 3 repos: 0xgh057r3c0n/CVE-2026-0770, affix/CVE-2026-0770-PoC, diamorphine666/CVE-2026-0770
- Evidence
- 0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.py:115 0xgh057r3c0n/CVE-2026-0770/CVE-2026-0770.yaml:39 affix/CVE-2026-0770-PoC/nuclei-template/CVE-2026-0770.yaml:39 affix/CVE-2026-0770-PoC/poc.py:53 diamorphine666/CVE-2026-0770/CVE-2026-0770.py:46 diamorphine666/CVE-2026-0770/CVE-2026-0770.py:68
GET /api/v1/auto_login
- Ports
- 7860
- Seen in
- 1 repo: diamorphine666/CVE-2026-0770
- Evidence
- diamorphine666/CVE-2026-0770/CVE-2026-0770.py:57
POST /api/v1/validate
- Content-Type
application/json- Seen in
- 1 repo: razureink/cve-2026-0770-langflow_rce_reproduction
- Evidence
- razureink/cve-2026-0770-langflow_rce_reproduction/exploit.py:57
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/v1/login(?:[?#].*)?$
(?i)^/api/v1/validate/code(?:[?#].*)?$
(?i)^/api/v1/auto_login(?:[?#].*)?$
(?i)^/api/v1/validate(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-0770 Langflow Langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/login"; http.request_body; content:"username=langflow"; http.request_body; content:"password=langflow"; http.request_body; content:"username="; http.request_body; content:"password="; reference:url,poc.griffinguard.io/cve/CVE-2026-0770; classtype:web-application-attack; sid:9161714; rev:1;)
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-0770 Langflow Langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/validate/code"; http.header; content:"Authorization: Bearer "; nocase; http.header; content:"Authorization: Bearare "; nocase; http.request_body; content:"|22|code|22|:|22|'|22|"; http.request_body; content:"|22|code|22|"; http.request_body; content:"|22|username|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-0770; classtype:web-application-attack; sid:9441321; rev:1;)
alert http any any -> $HOME_NET [7860] (msg:"GG PoC-Monitor CVE-2026-0770 Langflow Langflow exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/auto_login"; reference:url,poc.griffinguard.io/cve/CVE-2026-0770; classtype:web-application-attack; sid:9000448; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-0770 Langflow Langflow exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/v1/validate"; reference:url,poc.griffinguard.io/cve/CVE-2026-0770; classtype:web-application-attack; sid:9174027; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Langflow Langflow exploit attempt (CVE-2026-0770)
id: gg-pocmon-cve-2026-0770-9161714
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0770. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0770
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/v1/login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0770
title: Langflow Langflow exploit attempt (CVE-2026-0770)
id: gg-pocmon-cve-2026-0770-9441321
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0770. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0770
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/v1/validate/code'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0770
title: Langflow Langflow exploit attempt (CVE-2026-0770)
id: gg-pocmon-cve-2026-0770-9000448
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0770. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0770
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/auto_login'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0770
title: Langflow Langflow exploit attempt (CVE-2026-0770)
id: gg-pocmon-cve-2026-0770-9174027
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-0770. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-0770
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/v1/validate'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.0770