PYSEC-2026-1525

Langflow affected by Remote Code Execution via validate_code() exec()

At a glance

Published
Updated
CVE
CVE-2026-0770
Aliases
GHSA-g22f-v6f7-2hrh
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

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.

Affected packages

PackageVersions
PyPI · langflowintroduced 0, last affected 1.7.3

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database