CVEs / CVE-2026-27966
CVE-2026-27966: langflow-ai langflow vulnerability
- critical 9.8 CVSS 3.1 (from the CNA)
- EPSS 35.2% chance of exploitation in the next 30 days, higher than 98% of CVEs (30 Oct 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2026-27966
Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the CSV Agent node in Langflow hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain’s Python REPL tool (`python_repl_ast`). As a result, an attacker can execute arbitrary Python and OS commands on the server via prompt injection, leading to full Remote Code Execution (RCE). Version 1.8.0 fixes the issue.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| langflow-ai langflow | < 1.8.0 | — |
| Product | Affected | Fixed in |
|---|---|---|
| langflow (PyPI) | up to and including 1.8.0rc2 | — |
Package versions from GHSA-3645-fxcv-hqr4.
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Oct 2026.
Severity
| CVSS 3.1 | 9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HScored by the CNA ([email protected]) |
|---|---|
| Weakness | CWE-94 |
References
- CVE-2026-27966 on NVD
- CVE-2026-27966 on OSV
- https://github.com/langflow-ai/langflow/commit/d8c6480daa17b2f2af0b5470cdf5c3d28dc9e508 Patch
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4 Exploit, Vendor Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.