Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-27966
February 26, 2026
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.
Affected Packages
https://github.com/langflow-ai/langflow.git (GITHUB):
Affected version(s) >=v0.0.19 <v1.8.0.dev55
Fix Suggestion:
Update to version v1.8.0.dev55
https://github.com/langflow-ai/langflow.git (GITHUB):
Affected version(s) >=v0.0.19 <v1.8.0.dev55
Fix Suggestion:
Update to version v1.8.0.dev55
https://github.com/langflow-ai/langflow.git (GITHUB):
Affected version(s) >=v0.0.19 <v1.8.0.dev55
Fix Suggestion:
Update to version v1.8.0.dev55
https://github.com/langflow-ai/langflow.git (GITHUB):
Affected version(s) >=v0.0.19 <v1.8.0.dev55
Fix Suggestion:
Update to version v1.8.0.dev55
langflow (PYTHON):
Affected version(s) >=0.0.31 <1.8.0
Fix Suggestion:
Update to version 1.8.0
langflow (PYTHON):
Affected version(s) >=0.0.31 <1.8.0
Fix Suggestion:
Update to version 1.8.0
langflow (PYTHON):
Affected version(s) >=0.0.31 <1.8.0
Fix Suggestion:
Update to version 1.8.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.15