Live threats

All CVEs / Langflow

CVE-2026-27966Langflow

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Feb 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Langflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langflow ≤ 1.8.0rc2 no fixed version —
PyPI langflow ≤ 1.8.0rc2 no fixed version —

Per OSV / GitHub Advisories (GHSA-3645-fxcv-hqr4, PYSEC-2026-376). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
langflowlangflow< 1.8.0

Official sources

References

Links published by the sources. Open them with care.