Langflow affected by Remote Code Execution via validate_code() exec()
CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | langflow | <= 1.7.3 | no fix |
References
- CVSS vector
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- Weakness (CWE)
CWE-829- Platform
- Python (PyPI)
- Package
langflow- Disclosed
- 23.01.2026
- Updated
- 11.10.2026 13:18
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1525 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-g22f-v6f7-2hrh - CC BY 4.0
Vulnerability history: langflow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 42
- First → latest
- 06.2024 10.2026
- Without a fix
- 7
- Exploited in attacks
- 5
Severity breakdown
- Critical 15
- High 17
- Medium 7
- Low 3
Disclosures per year
- 2024: 4
- 2025: 5
- 2026: 33
-
Langflow affected by Remote Code Execution via validate_code() exec() this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.