{"id":"CVE-2026-33017","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-33017","generatedAt":"2026-10-28T01:44:35.465Z","title":"Langflow Code Injection Vulnerability","description":"Langflow is a tool for building and deploying AI-powered agents and workflows. In versions prior to 1.9.0, the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint uses attacker-controlled flow data (containing arbitrary Python code in node definitions) instead of the stored flow data from the database. This code is passed to exec() with zero sandboxing, resulting in unauthenticated remote code execution. This is distinct from CVE-2025-3248, which fixed /api/v1/validate/code by adding authentication. The build_public_tmp endpoint is designed to be unauthenticated (for public flows) but incorrectly accepts attacker-supplied flow data containing arbitrary executable code. This issue has been fixed in version 1.9.0.","published":"2026-03-20T05:16:16.000Z","lastModified":"2026-06-17T10:36:47.000Z","status":"Analyzed","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"4.0","score":9.3,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M"},"cwe":["CWE-94","CWE-95","CWE-306"],"affected":["langflow/langflow"],"epss":{"score":0.96177,"percentile":0.99877,"date":"2026-10-26","history":[{"date":"2026-09-24","score":0.24755,"percentile":0.97823},{"date":"2026-10-25","score":0.96177,"percentile":0.99877}]},"kev":{"listed":true,"dateAdded":"2026-03-25","dueDate":"2026-04-08","knownRansomwareCampaignUse":"Unknown","notes":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.\nhttps://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx ; https://nvd.nist.gov/vuln/detail/CVE-2026-33017"},"exploits":{"count":1,"verified":false,"firstPublished":"2026-07-08","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":52627,"kind":"exploit","title":"Langflow 1.9.0 - RCE","url":"https://www.exploit-db.com/exploits/52627","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/multiple/webapps/52627.py","file":"exploits/multiple/webapps/52627.py","published":"2026-07-08","added":"2026-07-08","updated":"2026-07-08","author":"Diamorphine","type":"webapps","platform":"multiple","port":null,"verified":false,"codes":["CVE-2026-33017"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"Known to be exploited in the wild (CISA KEV, CISA remediation deadline 8 April 2026). Treat as an emergency change: patch or isolate now, then hunt for prior compromise."},"changes":[{"kind":"epss","label":"EPSS jump","at":"2026-10-25T00:00:00.000Z","detail":{"to":0.96177,"from":0.24755,"percentile":0.99877},"summary":"EPSS moved from 24.8% to 96.2% probability of exploitation in the next thirty days."},{"kind":"epss","label":"EPSS jump","at":"2026-09-24T00:00:00.000Z","detail":{"to":0.24755,"from":0.96177,"percentile":0.97823},"summary":"EPSS moved from 96.2% to 24.8% probability of exploitation in the next thirty days."}],"references":[{"url":"https://github.com/advisories/GHSA-rvqx-wpfh-mfx7","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0","tags":["Patch"],"source":"security-advisories@github.com"},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx","tags":["Exploit","Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/langflow-ai/langflow/releases/tag/1.8.2","tags":["Release Notes"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://medium.com/@aviral23/cve-2026-33017-how-i-found-an-unauthenticated-rce-in-langflow-by-reading-the-code-they-already-dc96cdce5896","tags":["Exploit","Third Party Advisory"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017","tags":["US Government Resource"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours","tags":["Press/Media Coverage"],"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-33017","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."}