---
title: "CVE-2026-27966: Langflow has Remote Code Execution in CSV Agent"
url: https://erroneo.us/security/cve/CVE-2026-27966/
description: "CVE-2026-27966 (langflow (PyPI)): Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the CSV Agent node…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-02-26
date_modified: 2026-02-28
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-27966"
kev: false
cvss: 9.8
epss: 0.02547
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-27966: Langflow has Remote Code Execution in CSV Agent

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.5% , percentile 85: FIRST’s model estimates a 2.5% chance of exploitation activity in the next 30 days, higher than 85% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes langflow (PyPI) <= 1.8.0rc2, no fixed version listed . Check your lockfile, including transitive dependencies.

## What it is

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 allowdangerouscode=True, which automatically exposes LangChain’s Python REPL tool (pythonreplast). 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

- PyPI `langflow` <= 1.8.0rc2 → fixed: none listed

## Affected products (CVE record)

- langflow-ai langflow: < 1.8.0

## Severity

- GitHub_M CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.55% probability of exploitation activity in the next 30 days; percentile 85.

## Sources

- [GitHub Advisory GHSA-3645-fxcv-hqr4](https://github.com/advisories/GHSA-3645-fxcv-hqr4)
- [CVE.org record CVE-2026-27966](https://www.cve.org/CVERecord?id=CVE-2026-27966)
- [NVD entry CVE-2026-27966](https://nvd.nist.gov/vuln/detail/CVE-2026-27966)
- [github.com](https://github.com/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4)
- [github.com](https://github.com/langflow-ai/langflow/commit/d8c6480daa17b2f2af0b5470cdf5c3d28dc9e508)

---
Source page: https://erroneo.us/security/cve/CVE-2026-27966/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
