CVE-2026-27966: Vulnerability in Langflow

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

PyPI, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
35.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-3645-fxcv-hqr4
EU ID
EUVD-2026-8819
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
26 Feb 2026
Last change
27 Oct 2026
Likelihood rank
Higher than 98 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Langflow Before 1.8.0. Fixed in 1.8.0

Affected packages

Vulnerable version ranges and fixed releases

  • langflow PyPI, Affected through 1.8.0rc2. No fixed version recorded

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related