Skip to content
Emerging threatsCritical

CVE-2026-27966Langflow Code Injection

Langflow has Remote Code Execution in CSV Agent

Published Feb 26, 2026 · Updated Nov 4, 2026 · Also known as GHSA-3645-fxcv-hqr4, PYSEC-2026-376

Key Facts

Patch immediately
  • CVE-2026-27966 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Langflow.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 35% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Langflow 1.8.0.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

35%

Higher than 98.4% of all scored CVEs

Exploit maturity

Weaponized

ATLAS score

57/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Weaponized

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
LangflowLangflow< 1.8.01.8.0

Patched Releases

Langflow

1.8.0

Timeline

  1. Publicly disclosed

    Feb 26, 2026

  2. Last updated

    Nov 4, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-27966 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.