CriticalVulnerabilityLLM-specific
CVE-2026-27966: Langflow CSV Agent code execution through prompt injection
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-27966
- Published
- Record updated
- Affected
- langflow <= 1.8.0rc2
- Fixed in
- No fixed version was stated when the source was last read.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 35.2%
Summary
CVE-2026-27966 affects Langflow versions prior to 1.8.0. The CSV Agent node hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain's `python_repl_ast` Python REPL tool. An attacker can use prompt injection to execute arbitrary Python and OS commands on the server, resulting in full Remote Code Execution (RCE). The weakness is classified as CWE-94.
Mitigation
Version 1.8.0 fixes the issue.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- langflowPyPIReaches an LLM package through dependencies
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- InfoHow to Turn AI Red Team Findings Into Runtime ControlsSimilar attack · Straiker Blog
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database