CVE-2026-33017: Langflow Code Injection Vulnerability
Vulnerability summary
CVE-2026-33017 is a critical (CVSS 9.8) Code Injection vulnerability in Langflow. It is known to be exploited: CISA lists it, first on 25-03-2026. EPSS estimates a 24.75% chance of exploitation in the next 30 days, higher than 97.8% of scored vulnerabilities. 4 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 20-03-2026PublishedVulnerability first disclosed.
- 25-03-2026Added to CISA KEVLangflow Code Injection Vulnerability
- 08-04-2026CISA remediation dueApply mitigations per vendor instructions.
- 21-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated9.3CriticalCVSS: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:A
- NVDNIST9.3CriticalCVSS: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/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
24.75%
Chance of exploitation in the next 30 days
Percentile
98%
Versus all other CVEs
30-day change
-71.42 pp
From 96.18% on 20-09-2026
Known exploited
Compare KEV catalogs- Added
- 25-03-2026
- Federal due date
- 08-04-2026
CISA required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx nvd.nist.gov/vuln/detail/CVE-2026-33017
Public exploits
4 foundExploit Reference (medium.com)
Maturity: unknown
Langflow
Maturity: poc
Langflow 1.9.0 - RCE
Maturity: poc
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
- CWE-306Missing Authentication for Critical FunctionThe product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Affected systems
3 vendors · 3 products
References
14 links- github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvxX Refsource CONFIRMWEBExploitMitigationVendor Advisory
- github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0X Refsource MISCWEBPatch
- www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hoursThird Party AdvisoryWEBPress/Media Coverage
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017Government ResourceWEBUS Government Resource
Show all 14 references
- pypi.org/project/langflowPACKAGE