Langflow PythonFunction Code Injection Remote Code Execution Vulnerability

Vulnerability

A remote code execution vulnerability has been identified in Langflow, specifically within the Python function components. This issue allows remote attackers to execute arbitrary code on affected installations by introducing custom Python code into a workflow, depending on the product's configuration. The executed code runs in the context of the application.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected system, with the executed code running in the application's context.

Remediation

Given the nature of the vulnerability, the recommended mitigation strategy is to restrict interaction with the product.

Added: Jan 23, 2026, 4:33 AM
Updated: Jan 23, 2026, 4:33 AM

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
10.0
exploitability
4.9
remediation
7.9
relevance
2.3
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.