Skip to main content
← All vulnerabilities
CVE-2026-27966GHSA-3645-FXCV-HQR4PYSEC-2026-376

Langflow has Remote Code Execution in CSV Agent

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.0
1 Metasploit module, 2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • langflow-ai langflow

    fixed in 1.8.0

  • langflowPyPI

    through 1.8.0rc2

References 5

GitHub · langflow-ai/langflow

GitHub · rapid7/metasploit-framework

GitHub · Anon-Cyber-Team/CVE-2026-27966--RCE-in-Langflow

GitHub · shinthink/CVE-2026-27966