criticalCVSS 9.8NVD status: Analyzed

CVE-2026-27966

Langflow is a tool for building and deploying AI-powered agents and workflows.

ComponentLangflow, LangChain
Severitycritical (CVSS 9.8)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-02-26
Last modified2026-06-17
Affected versions
langflow < 1.8.0
Fixed in1.8.0
WeaknessCWE-94
CISA KEVnot listed

NVD 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.

Does CVE-2026-27966 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for Langflow.
Check my stack

What to do

  • Upgrade Langflow to 1.8.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other Langflow CVEs

All Langflow CVEs