Exploit database

Vulnerability

CVE-2026-0768

Langflow code Code Injection 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 code Code Injection 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 code parameter provided to the validate endpoint. The issue results from the lack of proper validation of a user-supplied string before using it to execute Python code. An attacker can leverage this vulnerability to execute code in the context of root. . Was ZDI-CAN-27322.

CVE Program

Exploit source choices

1 source
Langflow AI Validate Code Injection unauth RCE
MSF-multi--http--langflow_unauth_rce_cve_2026_0768MetasploitPython / remotePreferred

Langflow version 1.4.2 is susceptible to unauthenticated remote code execution due to improper handling of the code parameter provided to the `/validate` endpoint. Arbitrary code is executed under the context of the backend Langflow process.

2026-09-02langflow_unauth_rce_cve_2026_0768.rb