CVE-2026-27966CWE-94

Langflow has Remote Code Execution in CSV Agent

Critical · published February 26, 2026

CVSS v3.1
9.8
EPSS
3%
Percentile
84.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02547 · 84.9th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-02-26T01:55Z
EPSS history
Timeline
  • 25 SEP 03:25Z
    EPSS moved 34% → 2%
    epss
  • 26 FEB 01:55Z
    Langflow has Remote Code Execution in CSV Agent
    cvelistv5