Vulnerability record · CVE-2026-33017 · published 20 March 2026
CVE-2026-33017: Langflow build_public_tmp endpoint unauthenticated remote code execution
Langflow · Langflow
Langflow versions prior to 1.9.0 expose the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint without authentication, and when the optional data parameter is supplied the endpoint executes attacker-controlled flow data instead of the stored flow. Node definitions in that data can contain arbitrary Python that is passed to exec() with no sandboxing, giving unauthenticated remote code execution. It is a distinct flaw from CVE-2025-3248, which only added authentication to /api/v1/validate/code.
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: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:
Automated analysis
critical priorityUnauthenticated network-reachable RCE with a CVSS 4.0 score of 9.3, KEV listing and very high EPSS probability, with evidence of active exploitation.
What it is
Langflow versions prior to 1.9.0 expose the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint without authentication, and when the optional data parameter is supplied the endpoint executes attacker-controlled flow data instead of the stored flow. Node definitions in that data can contain arbitrary Python that is passed to exec() with no sandboxing, giving unauthenticated remote code execution. It is a distinct flaw from CVE-2025-3248, which only added authentication to /api/v1/validate/code.
Impact
An unauthenticated attacker gains arbitrary code execution in the context of the Langflow server, allowing full compromise of the host and any AI pipelines, credentials or data it can reach.
Attack surface
Reachable over the network via a single POST to the public build endpoint; no authentication and no user interaction are required, as reflected in the CVSS 4.0 vector (AV:N/PR:N/UI:N). The attacker only needs to supply crafted flow data in the optional data parameter.
Exploitation
CISA added it to KEV on 2026-03-25 with a remediation due date of 2026-04-08, and EPSS gives a 30-day probability of 0.96177 (99.875th percentile). Vendor and third-party references are tagged Exploit, and media reporting describes real-world compromise of Langflow pipelines, so exploitation is active.
What to do
- Upgrade Langflow to 1.9.0 or later, which contains the fix.
- If immediate upgrade is not possible, block or restrict external access to /api/v1/build_public_tmp/ and any public flow build endpoints at the reverse proxy or firewall.
- Follow CISA KEV required action and BOD 22-01 guidance for cloud-hosted instances, or discontinue use of the product where mitigations are unavailable.
- Rotate any credentials, API keys and secrets accessible to the Langflow process, and review the host for signs of compromise.
- Run Langflow with least privilege and isolate it from sensitive internal networks until patched.
Detection
- Monitor web and proxy logs for POST requests to /api/v1/build_public_tmp/*/flow, especially with a data parameter in the body.
- Look for unexpected child processes spawned by the Langflow service (python, sh, bash, curl, wget) indicating exec() abuse.
- Alert on outbound network connections from Langflow hosts to unfamiliar destinations, consistent with post-exploitation activity.
- Audit Langflow flow definitions and server filesystem for injected Python code or newly created files and persistence.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2026-33017 to the Known Exploited Vulnerabilities catalog on 25 March 2026 as "Langflow Code Injection Vulnerability". 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. Federal deadline 8 April 2026.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/advisories/GHSA-rvqx-wpfh-mfx7 | Third Party Advisory |
| https://github.com/langflow-ai/langflow/commit/73b6612e3ef25fdae0a752d75b0fabd47328d4f0 | Patch |
| https://github.com/langflow-ai/langflow/security/advisories/GHSA-vwmf-pq79-vjvx | ExploitMitigationVendor Advisory |
| https://github.com/langflow-ai/langflow/releases/tag/1.8.2 | Release Notes |
| https://medium.com/@aviral23/cve-2026-33017-how-i-found-an-unauthenticated-rce-in-langflow-by-reading-the-code-they-alre | ExploitThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-33017 | US Government Resource |
| https://www.sysdig.com/blog/cve-2026-33017-how-attackers-compromised-langflow-ai-pipelines-in-20-hours | Press/Media Coverage |
Track CVE-2026-33017 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-33017), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.