CRITICAL

CVE-2026-0770

Langflow Langflow 2026-01-23 CVSS v3.0
CVSS
9.8
KEV

Description

Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Langflow. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the handling of the exec_globals parameter provided to the validate endpoint. The issue results from the inclusion of a resource from an untrusted control sphere. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-27325.

Summary dbcve.org

Langflow contains a critical code injection vulnerability in its validate endpoint where the exec_globals parameter is passed directly to Python's exec() function without sanitization. This allows unauthenticated remote attackers to execute arbitrary Python code in the root context, achieving full remote code execution on the affected system.

Mitigation

Immediately restrict network access to the validate endpoint and implement authentication/authorization controls. The exec_globals parameter handling must be removed or refactored to eliminate the unsafe exec() usage with user-controlled input.

Weakness (CWE)

CWE-829

EPSS Score

63.42%
Probability of exploitation in next 30 days
99.2th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE