9.8

CVE-2026-27966: langflow-ai langflow Code Injection

CVSS: 9.8v3.1CriticalAnalyzed
AliasesGHSA-3645-fxcv-hqr4PYSEC-2026-376
Published 26-02-2026Last modified 28-02-2026

Vulnerability summary

CVE-2026-27966 is a critical (CVSS 9.8) Code Injection vulnerability in langflow-ai langflow. EPSS estimates a 2.55% chance of exploitation in the next 30 days, higher than 84.8% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
2.55%
0%100%
Low · -31.15 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, metasploit

Timeline

  1. 26-02-2026
    PublishedVulnerability first disclosed.
  2. 28-02-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

2.55%

Chance of exploitation in the next 30 days

Percentile

85%

Versus all other CVEs

30-day change

-31.15 pp

From 33.69% on 21-09-2026

21-09-202621-10-2026
EPSS score
2.55%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Langflow

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Langflow RCE

    exploit/multi/http/langflow_rce_cve_2026_27966

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Langflow1 product
Langflow-ai1 product
PyPI1 product
  • langflow≤ 1.8.0rc2

3 vendors · 3 products

References

6 links