{"id":"CVE-2026-27966","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-27966","generatedAt":"2026-10-31T06:00:39.492Z","title":"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`).","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.","published":"2026-02-26T02:16:24.000Z","lastModified":"2026-06-17T10:27:59.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":["langflow/langflow"],"epss":{"score":0.35246,"percentile":0.9844,"date":"2026-10-30","history":[{"date":"2026-09-24","score":0.02399,"percentile":0.83301},{"date":"2026-10-25","score":0.35246,"percentile":0.98431}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 35.2%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-10-25T00:00:00.000Z","detail":{"to":0.35246,"from":0.02808,"percentile":0.98431},"summary":"EPSS moved from 2.8% to 35.2% probability of exploitation in the next thirty days."},{"kind":"epss","label":"EPSS jump","at":"2026-09-24T00:00:00.000Z","detail":{"to":0.02399,"from":0.33694,"percentile":0.83301},"summary":"EPSS moved from 33.7% to 2.4% probability of exploitation in the next thirty days."}],"references":[{"url":"https://github.com/langflow-ai/langflow/commit/d8c6480daa17b2f2af0b5470cdf5c3d28dc9e508","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-3645-fxcv-hqr4","tags":["Exploit","Vendor Advisory"],"source":"security-advisories@github.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-27966","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}