1. Home
  2. Vulnerabilities
  3. CVE-2026-27966

CVE-2026-27966

Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the…

Published 26 Feb 2026 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

High 75/100

Summary

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 products and versions

Langflow (1 line(s))
Langflow
ProductVersionsFixed inSource
Langflow before 1.8.0 (excluded) — NVD
Pypi (1 line(s))
Pypi
ProductVersionsFixed inSource
langflow up to 1.8.0rc2 (included) — GitHub Advisory

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

Timeline

  1. — CVE published (cve)
  2. — Public exploit module (metasploit) date first seen

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:security-advisories@github.com)
Weakness
CWE-94 · Injection de commandes / code

How this data is obtained and calculated