Exploit database

Vulnerability

CVE-2026-0770

Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.0 · zdi

Vector string

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

5 sources
Langflow Unauthenticated RCE (validate endpoint)
MSF-multi--http--langflow_rce_cve_2026_0770MetasploitUnix / remote

Langflow versions up to and including 1.7.3 contain a remote code execution vulnerability in the `validate` endpoint where unsanitized values in `exec_globals`/`code` allow an attacker to execute arbitrary Python code. This module abuses the `/api/v1/auto_login` (or `/api/v1/login`) and `/api/v1/validate/code` endpoints to execute an arbitrary Metasploit command payload.

2026-05-23langflow_rce_cve_2026_0770.rb
affix/cve-2026-0770-poc
GH-37b4f0c7d91d96a03621d5e7558390a0GitHubUnofficial GitHub source

Proof of Concept for CVE-2026-0770 - Langflow Remote Code Execution

2026-02-073 files · 7 stars
0xgh057r3c0n/cve-2026-0770
GH-7905fb41dfd300af3d77fe4df8371189GitHubUnofficial GitHub source

Langflow Remote Code Execution (RCE) Proof-of-Concept

2026-02-245 files · 1 stars