CVE-2026-27966
Langflow has Remote Code Execution in CSV Agent
CRITICAL 9.8
At a glance
- Source
- NVD
- EPSS
- EPSS 35.25 % · percentile 98 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-94 — Improper Control of Generation of Code
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · security-advisories@github.com (Secondary) |
Advisories
- GHSA-3645-fxcv-hqr4 — Langflow has Remote Code Execution in CSV Agent
- PYSEC-2026-376 — Langflow has Remote Code Execution in CSV Agent
European references
- ENISA EUVD · EUVD-2026-8819
- GCVE · GCVE-0-2026-27966
Affected configurations (NVD CPE)
cpe:2.3:a:langflow:langflow:*:*:*:*:*:*:*:*< 1.8.0
Affected products
| Product | Versions |
|---|---|
| langflow-ai · langflow | affected < 1.8.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |