Langflow Remote Code Execution Vulnerability via Untrusted exec_globals Parameter

Vulnerability

A remote code execution vulnerability has been identified in Langflow. This issue arises from the handling of the exec_globals parameter in the validate endpoint, allowing remote attackers to execute arbitrary code on the affected system. The vulnerability stems from including a resource from an untrusted control sphere, enabling code execution with root privileges. Notably, no authentication is required to exploit this vulnerability.

Impact

Exploitation of this vulnerability allows for arbitrary code execution on the affected Langflow installation, with the executed code running in the context of the root user.

Remediation

Given the nature of this vulnerability, the primary mitigation strategy is to limit interaction with the Langflow product.

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

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
10.0
exploitability
7.0
remediation
7.9
relevance
2.2
threat
0.3
urgency
2.9
incentive
4.2

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