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
Advisories And Exploit References
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| Product | Affected versions | Fixed in |
|---|---|---|
| LangflowLangflow | < 1.8.0 | 1.8.0 |
Patched Releases
Langflow
1.8.0
Timeline
Publicly disclosed
Feb 26, 2026
Last updated
Nov 4, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-27966
- advisoryGHSA advisory
- advisorygithub.com · PYSEC-2026-376.yaml
- exploitMSF langflow_rce_cve_2026_27966.rb
FAQ
Common Questions.
Langflow is a tool for building and deploying AI-powered agents and workflows.
Affected: Langflow versions < 1.8.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Langflow 1.8.0.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
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