CVE-2026-0771 Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

High 7.1 Published Updated

Remote attackers can execute arbitrary code by injecting Python into workflows, depending on product configuration.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-0771?

CVE-2026-0771 is a high-severity code injection vulnerability in Langflow Langflow, published on 23 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-0771?

It affects 1 product.

Products include Langflow Langflow.

How do I fix CVE-2026-0771?

No fix has been published for CVE-2026-0771 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-0771 being exploited?

There is no known exploitation of CVE-2026-0771 in the wild and no public exploit code.

All Langflow Langflow vulnerabilities

Sources

Also known as GHSA-q33r-gfjj-qmq4.

Is CVE-2026-0771 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free