CVE-2026-27966 in the critical feed json
Langflow has Remote Code Execution in CSV Agent
published 2026-02-26 8 mo ago modified 2026-10-27 12 d ago also GHSA-3645-fxcv-hqr4 , PYSEC-2026-376 , EUVD-2026-8819
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.2%
- EPSS 35.2% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
Timeline
- First public exploit (Metasploit exploit/multi/http/langflow_rce_cve_2026_27966)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 8 mo ago
Exploit prediction
35.25% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/multi/http/langflow_rce_cve_2026_27966 Langflow RCE metasploit exploit, excellent rank, 2026-02-25
- github.com https://github.com/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | langflow | <=1.8.0rc2 |
no fix listed |
Affected products
- langflow-ai langflow
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/langflow-ai/langflow/commit/d8c6480daa17b2f2af0b5470cdf5c3d28dc9e508
web, patch
-
github.com
/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-27966
advisory
-
github.com
/langflow-ai/langflow
package
-
github.com
/pypa/advisory-database/tree/main/vulns/langflow/PYSEC-2026-376.yaml
web
-
pypi.org
/project/langflow
web, package
-
github.com
/advisories/GHSA-3645-fxcv-hqr4
advisory
Sources
- CVE List CVE-2026-27966
- GitHub Advisory GHSA-3645-fxcv-hqr4
- NVD CVE-2026-27966
- OSV PYSEC-2026-376
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.