CVE-2026-27966: Langflow is a tool for building and deploying AI-powered agents and workflows
CVE-2026-27966 is a critical-severity flaw (CVSS 9.8) affecting langflow. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- EPSS top 2%: very likely to be exploited
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 35.2% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2026-02-26 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: Anon-Cyber-Team/CVE-2026-27966--RCE-in-Langflow (2 stars)
- GitHub PoC: shinthink/CVE-2026-27966 (2 stars)
- Write-up: github.com/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4
- Metasploit: Langflow RCE
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-27966?
langflow: upgrade to 1.8.0. Exact commands for each OS are on this page.
Is CVE-2026-27966 being exploited?
CVE-2026-27966 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-27966 affect?
CVE-2026-27966 affects langflow. Severity is critical (CVSS 9.8). 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_r
How urgent is CVE-2026-27966?
Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Software pages
Python vulnerabilities · OpenAI and LLM tools vulnerabilities
Related CVEs
- CVE-2026-110245 HIGH 7.5 UPGRADE IBM Langflow OSS 1.0.0 through 1.12.4 could allow a remote attacker to obtain sensitive information due to imp
- CVE-2026-110192 MEDIUM 6.5 UPGRADE IBM Langflow OSS 1.0.0 through 1.12.8 could allow a remote authenticated attacker to obtain sensitive informat
- CVE-2026-104331 MEDIUM 5.4 UPGRADE IBM Langflow OSS 1.0.0 through 1.12.3 is vulnerable to server-side request forgery (SSRF)
- CVE-2026-104315 MEDIUM 4.3 UPGRADE IBM Langflow OSS 1.0.0 through 1.12.3 is vulnerable to server-side request forgery (SSRF)
- CVE-2026-104308 MEDIUM 4.3 UPGRADE IBM Langflow OSS 1.0.0 through 1.12.3 could allow a remote authenticated attacker to cause a denial of service