Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint (CVE-2026-33017)
Published In CISA KEV since Sources: CVE.org, OSV, pwn.watch, EUVD
What is affected, what to do
Langflow has a vulnerability allowing unauthenticated remote code execution (RCE). Attackers can create public flows without authentication and execute arbitrary Python code by manipulating API endpoints. This vulnerability is actively exploited. Affected versions include 0.0.31 to 0.0.52, prior to version 1.9.0. An immediate patch to version 1.9.0 is urgently required to mitigate the risk.
The vulnerability is being actively exploited; treat it as a priority. Update Langflow to version 1.9.0. Immediate actions, mitigation and detection rules are in the runbook below.
- Affected
- Langflow
lt *..1.9.0
- Langflow
- Fixed in
- Langflow
1.9.0
- Langflow
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
9.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
9.8
CVSS v3
Severity Critical on the scale from 0 to 10.
Source: CVE.org, OSV, pwn.watch, EUVD
96.2 %
EPSS score
High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
Source: FIRST EPSS, percentile 99.88
Show all metrics
- Severity
- Critical
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 244.15 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- actively exploitedSource: VulnCheck KEV (opens in a new tab) How we classify
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 9.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.8
CVSS v4
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 9.3
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 96.2 %
- High — model estimates ≥ 50% chance of real-world exploitation within 30 days.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 99.88
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- Actively exploited
- Published
In CISA KEV since
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- CISA assessment (SSVC)
- Exploitation: active · automatable · Technical impact: total
- Source: CISA Vulnrichment, as of 26 March 2026
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-94, CWE-95, CWE-306
Response and mitigation
Why act now?
Prioritisation rationale
This CVE sits on KEV because the attack path is trivial: a single unauthenticated HTTP POST lands attacker-controlled Python directly in exec() — network-reachable, no user interaction, full loss of confidentiality, integrity, and availability. Exploitation likelihood is among the highest currently tracked, and the target profile is distinctive: internet-exposed Langflow instances run by AI / data-science teams, usually wired to production LLM keys and internal data sources. For NIS2-scope organisations, treat every externally reachable Langflow as P1 (patch or take down within 24 h) and internal-only instances as P2 (patch in the next regular window plus immediate network restriction). The absence of a CISA ransomware flag should not relax the response — unauthenticated RCE in AI pipelines is actively abused for crypto-mining, secret theft, and supply-chain footholds into LLM backends.
Runbook step 1
Immediate response (0-24 h)
- Upgrade every Langflow instance to version 1.9.0 (pip install --upgrade langflow==1.9.0 or pin the container image to 1.9.0). This is the only complete fix and closes the unauthenticated RCE path through POST /api/v1/build_public_tmp/{flow_id}/flow.
- Until patched: block /api/v1/build_public_tmp/* at the fronting reverse proxy (NGINX, Traefik, Envoy, AWS ALB/WAF) with a hard 403 for all methods. Surgical, sacrifices public-flow functionality, but kills the exec() path.
- Reduce exposure immediately: pull Langflow off the internet, put it behind VPN or a zero-trust proxy, or restrict source IPs via security group / firewall. Pay special attention to deployments on 7860/tcp, 3000/tcp, or behind public load balancers.
- Compromise assessment: treat every host that ran a vulnerable, internet-exposed Langflow as potentially compromised. Hunt for unexpected child processes of the Langflow / Python / Uvicorn worker, new cron jobs, injected SSH keys, container escapes, and outbound C2 beacons.
- Rotate credentials: every secret present in the Langflow environment — OpenAI / Anthropic / Azure API keys, vector-DB credentials, database connection strings, cloud IAM role of the pod/host. RCE as the service user means these must be considered leaked.
Runbook step 2
Mitigation layers
- Network segmentation: place Langflow workloads in an isolated VLAN or namespace, egress-filtered to whitelisted LLM endpoints only. No direct reachability to internal databases, cloud metadata services (169.254.169.254), or admin networks.
- WAF / reverse-proxy rule: block the request pattern "POST /api/v1/build_public_tmp/"; secondarily drop requests to this path containing JSON body keys "code", "nodes", or "data". ModSecurity example: SecRule REQUEST_URI "@beginsWith /api/v1/build_public_tmp/" "id:900333,phase:1,deny,status:403".
- Container hardening: run Langflow with read-only rootfs, non-root UID, default seccomp profile, drop ALL capabilities, no_new_privileges. Enforce Kubernetes PodSecurity "restricted". Limits persistence after a successful injection.
- Egress control: restrict outbound traffic from the Langflow pod to a defined allow-list (api.openai.com, etc.), default-deny everything else. Blocks payload staging and C2.
- IAM least-privilege: trim the cloud role attached to the pod/host to minimal permissions; no wildcard S3, Secrets Manager, or iam:PassRole. Where possible, enforce IMDSv2 with hop-limit 1.
- Fronting authN: place an auth layer (oauth2-proxy, Authelia, Cloudflare Access) in front of Langflow that forces SSO on every request, including the "public" endpoints.
Runbook step 3
Detection rules
- Web / access logs: any POST to /api/v1/build_public_tmp/*/flow with a body larger than a few kilobytes is suspicious. Sigma shape: selection.cs-uri-stem contains "/api/v1/build_public_tmp/" AND cs-method = "POST" AND cs-bytes greater_than 2048.
- Process ancestry (Sysmon EID 1 / EDR): Langflow / Python / Uvicorn worker spawning child processes like sh, bash, curl, wget, nc, python -c, base64 -d. KQL shape: DeviceProcessEvents | where InitiatingProcessFileName in~ ("python","python3","uvicorn") and FileName in~ ("sh","bash","curl","wget","nc","ncat").
- Linux auditd: execve calls with ppid of a Langflow worker and comm in shell / download tooling; plus connect() syscalls to 169.254.169.254 (cloud-metadata exfiltration).
- Network telemetry (Zeek / Suricata): new outbound connections from the Langflow host to non-allow-listed IPs, especially 4444/tcp, 1337/tcp, or TLS to freshly registered domains. Suricata rule: alert tcp $LANGFLOW_NET any -> !$LLM_ALLOWLIST any (msg:"Langflow unexpected egress"; sid:XXXXX;).
- Filesystem monitoring: new files with the execute bit in /tmp, /var/tmp, /dev/shm inside the Langflow container; new entries in ~/.ssh/authorized_keys or in crontab paths.
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Actively exploited: treat the vulnerability as a priority in vulnerability handling under Art. 21(2)(e) NIS2. If it is exploited in your environment, check the reporting obligation under Art. 23 (early warning within 24 hours).
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- Since 11.09.2026, manufacturers of affected products with digital elements must report actively exploited vulnerabilities under Art. 14 CRA, with an early warning within 24 hours via ENISA's single reporting platform.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: NVD (NIST), OSV (Open Source Vulnerabilities), CISA KEV Catalog, CVE.org (MITRE), pwn.watch, cvelistv5, ENISA EUVD
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| langflow-ai | langflow |
|
|
| langflow | langflow |
|
|
| pypi | langflow |
|
|
Vendors and products
Weakness classes (CWE)
CWE-94Improper Control of Generation of Code ('Code Injection')
Base
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.
Entry at MITRE CWE-94CWE-95Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Variant
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").
Entry at MITRE CWE-95CWE-306Missing Authentication for Critical Function
Base
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Entry at MITRE CWE-306
Public exploit references
Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.
| CISA KEV Catalog | CISA Known Exploited Vulnerability (opens in a new tab)cisa.gov | actively exploited | |
| Reference tagged as exploit | github.com (opens in a new tab) | PoC (publicly reported)reported, not verified | — |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-Langflow-RCE (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-langflow-rce (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-PoC-Reverse-Shell (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | Project-CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-FireFlow (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-PoC (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-Langflop (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | Langflow-cve-2026-33017-exploit (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-Langflow-RCE (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017-Exploit (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified | |
| PoC-in-GitHub (nomi-sec) | CVE-2026-33017 (opens in a new tab)github.com | PoC (publicly reported)reported, not verified |
References & sources
- github.comlangflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvxweb, x_refsource_CONFIRM, Exploit, Mitigation, Vendor advisory, pwn-watch
- NVD (NIST)NVD: CVE-2026-33017advisory, pwn-watch
- github.comlangflow-ai/langflow/issues/12345web
- github.comlangflow-ai/langflow/pull/12160web
- github.comlangflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd4732…web, x_refsource_MISC, Patch
- GitHub Security Advisoriesadvisories/GHSA-rvqx-wpfh-mfx7advisory, x_refsource_MISC, Third-party advisory
- github.comlangflow-ai/langflowpackage
- github.comlangflow-ai/langflow/releases/tag/1.8.2web, Patch, Release notes
- medium.com@aviral23/cve-2026-33017-how-i-found-an-unauthenticated-rce-in-…web, Exploit, Exploit, Third-party advisory
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2025-33017web
- cisa.govknown-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017web, government-resource, US government resource
- sysdig.comblog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipel…web, Third-party advisory, Press coverage
- pypi.orgproject/langflowpackage
- GitHub Security Advisoriesadvisories/GHSA-vwmf-pq79-vjvxadvisory
- pwn.watchpwn.watch: Langflow Langflow: Langflow Code Injection Vulnerabilitypwn-watch
- cisa.govCISA Known Exploited Vulnerabilities Catalogpwn-watch
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2026-33017"><img src="https://intel.neosec.eu/badge/cve/CVE-2026-33017.svg?lang=en" alt="CVE-2026-33017 – NEOSEC Intel" height="20"></a>