CVE-2026-27966

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLangflow
PublishedFeb 26, 2026
First seenFeb 26, 2026

How to fix

Update
  • langflow langflow1.8.0 or later

Affected products

ProductAffected versionsFixed in
langflow langflowv < 1.8.01.8.0
langflowPyPIv ≤ 1.8.0rc2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-27966 · Langflow · Dark Radar