← Vulnerability feed

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.

9.3 CVSS 4.0 Critical CISA KEV since 25 Mar 2026 EPSS 25% · top 2.2% CWE-94 · Code injectionCWE-95 · CWE-95
9.3CVSS 4.0 base score
25%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
7References, 2 tagged exploit
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 16 September 2026. Confidence: high.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-9198Langflow auto_login and code validation chain enables unauthenticated RCEIBM Langflow OSS 1.0.0 through 1.10.0 exposes /api/v1/auto_login, which mints SUPERUSER tokens to any network caller, and /api/v1/validate/code, whic…KEVEPSS 29%analysed9.8CVE-2026-0770Langflow validate endpoint exec_globals remote code executionLangflow mishandles the exec_globals parameter passed to its validate endpoint, allowing functionality from an untrusted control sphere to be include…KEVEPSS 64%analysed9.8CVE-2025-3248Langflow unauthenticated code injection in validate/code endpointLangflow versions prior to 1.3.0 expose the /api/v1/validate/code endpoint without authentication, allowing code injection. A remote attacker can sen…KEVEPSS 100%analysed9.4CVE-2025-34291Langflow CORS misconfiguration leads to token theft and RCELangflow up to and including 1.6.9 ships an overly permissive CORS configuration (allow_origins='*' with allow_credentials=True) and a refresh token …KEVEPSS 93%analysed8.4CVE-2026-55255Langflow IDOR in responses endpoint allows cross-user flow executionLangflow before 1.9.1 has an insecure direct object reference in the /api/v1/responses endpoint. An authenticated attacker can supply another user's …KEVEPSS 0.89%analysed10.0CVE-2026-10134Langflow code injection vulnerabilityIBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read and modify every flow, conversat…EPSS 0.64%10.0CVE-2026-10561Langflow code injection vulnerabilityIBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined with an authentication bypass tha…EPSS 1.0%9.9CVE-2026-19295Langflow vulnerabilityIBM Langflow OSS 1.0.0 through 1.11.1 allows an authenticated attacker to execute arbitrary operating system commands in the server process by saving…EPSS 3.3%

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.