Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-27966: Langflow CSV Agent code execution through prompt injection

Identifier
CVE-2026-27966
Published
Record updated
View JSON
Affected
  • langflow <= 1.8.0rc2
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
35.2%

Summary

CVE-2026-27966 affects Langflow versions prior to 1.8.0. The CSV Agent node hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain's `python_repl_ast` Python REPL tool. An attacker can use prompt injection to execute arbitrary Python and OS commands on the server, resulting in full Remote Code Execution (RCE). The weakness is classified as CWE-94.

Mitigation

Version 1.8.0 fixes the issue.