CVE-2026-0771

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

State
Published
Severity
7.1 High
Published
Jan 23, 2026
Updated
Feb 26, 2026
Reserved
Jan 8, 2026

Read the record on cve.org

Description

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Attack vectors and exploitability will vary depending on the configuration of the product.

The specific flaw exists within the handling of Python function components. Depending upon product configuration, an attacker may be able to introduce custom Python code into a workflow. An attacker can leverage this vulnerability to execute code in the context of the application. Was ZDI-CAN-27497.

Scores

CVSSScoreVectorSource
3.07.1 HighCVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:Hzdi

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
LangflowLangflow
  • 1.4.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.