Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2026-27966 EUVD-2026-8819GHSA-3645-fxcv-hqr4PYSEC-2026-376

Langflow has Remote Code Execution in CSV Agent

Published Feb 26, 2026 · Updated Feb 28, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
langflow-ai langflow < 1.8.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

  • Langflow RCE
    exploit/multi/http/langflow_rce_cve_2026_27966

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langflow <= 1.8.0rc2 — GHSA-3645-fxcv-hqr4

Advisories 1

References