CVE-2026-27966
Langflow has Remote Code Execution in CSV Agent
- Published
- Feb 26, 2026
- Updated
- Feb 28, 2026
- Assigning CNA
- GitHub_M
- Evidence observed
- Aug 25, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLow · next 30 days
- Percentile
- 84.8%
- Model date
- Oct 17, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
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.
Sources
- Langflow RCEModule
modules/exploits/multi/http/langflow_rce_cve_2026_27966.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Python,Unix($.exploit_multi/http/langflow_rce_cve_2026_27966.platform)
- verification: check_declared($.exploit_multi/http/langflow_rce_cve_2026_27966.check)
- CVE-2026-27966Exploit
Pre-auth RCE scanner for Langflow < 1.8.0 — Route Injection + Vertex Injection → Code Execution (CVSS 9.8)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.