Advisory

GHSA-g22f-v6f7-2hrh

Also known as: CVE-2026-0770, PYSEC-2026-1525

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-01-23 06:31 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

langflow

PyPI · All systems

Affected

  • introduced 0, last affected 1.7.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences