CVE-2026-0771CWE-94

Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

High · published January 23, 2026

CVSS v3.0
7.1
EPSS
1%
Percentile
49.4
In the wild
Unconfirmed
What it is

⚡ Python code injection is the name of the game! An attacker can introduce custom code into workflows on vulnerable Langflow installations — and that’s a game changer! 🔥 Think of it like a restaurant where a sneaky chef can slip in their own secret ingredients into the dishes — you might get a delightful surprise, or something downright disastrous! If exploited, an attacker could execute arbitrary code within the application context, potentially gaining complete control over the affected installation and wreaking havoc on your data or processes. The implications could range from data theft to unauthorized access, making this vulnerability absolutely critical to address!

Put simply

Think of it like a restaurant where a sneaky chef can slip in their own secret ingredients into the dishes — you might get a delightful surprise, or something downright disastrous! This vulnerability arises from improper handling of Python function components within Langflow, allowing attackers to inject custom code into workflows based on specific configurations.

What to do

If exploited, an attacker could execute arbitrary code within the application context, potentially gaining complete control over the affected installation and wreaking havoc on your data or processes. The implications could range from data theft to unauthorized access, making this vulnerability absolutely critical to address! To protect your installation, update Langflow to the latest version immediately and review configurations to restrict the introduction of unauthorized Python code. Additionally, consider implementing strict input validation and monitoring workflows for suspicious activities. You've got this! Fixing this vulnerability will bolster your security defenses and keep your workflows running smoothly! 🛡️

The record
Technical detail
CVSS v3.0
7.1 · HIGH
Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00627 · 49.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-01-23T03:28Z
EPSS history
Timeline
  • 23 JAN 03:28Z
    Langflow PythonFunction Code Injection Remote Code Execution Vulnerability
    cvelistv5