Advisory Details

January 9th, 2026

(0Day) Langflow exec_globals Inclusion of Functionality from Untrusted Control Sphere Remote Code Execution Vulnerability

ZDI-26-036
ZDI-CAN-27325

CVE ID CVE-2026-0770
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Langflow
AFFECTED PRODUCTS Langflow
VULNERABILITY DETAILS

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.

ADDITIONAL DETAILS

07/18/25 – ZDI submitted the report to the vendor’s GitHub account
09/11/25 – ZDI asked for updates
10/10/25 – ZDI asked for the fix
12/10/25 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product


DISCLOSURE TIMELINE
  • 2025-07-18 - Vulnerability reported to vendor
  • 2026-01-09 - Coordinated public release of advisory
  • 2026-01-09 - Advisory Updated
CREDIT Peter Girnus (@gothburz), William Gamazo Sanchez, and Alfredo Oliveira of Trend Research
BACK TO ADVISORIES