CVE-2026-33017: Langflow Unauthenticated Remote Code Execution via Public Flow Build Endpoint

langflow Updated 17 Mar 2026

Summary

17/03/2026
No i
Critical
9.3

CVE-2026-33017: Unauthenticated Remote Code Execution in Langflow via Public Flow Build Endpoint. Affects langflow versions < 1.8.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Langflow is an open-source framework designed for building and managing workflows, particularly in the context of chatbots and data processing. It allows users to create flows that can be executed without requiring extensive programming knowledge. However, the framework has a critical vulnerability that exposes it to unauthenticated remote code execution, allowing attackers to exploit public flows without any authentication.

Vulnerability Detail

The vulnerability exists in the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint, which is intended to allow unauthenticated users to build public flows. When the attacker supplies the optional 'data' parameter, it can contain arbitrary Python code. This code is executed using the exec() function without any sandboxing, leading to remote code execution on the server. The implications of this vulnerability are severe, as it allows attackers to execute arbitrary commands, potentially compromising the entire server and accessing sensitive information.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using the build_public_tmp endpoint until the vulnerability is patched. Ensure that public flows do not accept any user-supplied data that could lead to code execution.

Conclusion

CVE-2026-33017 is a critical vulnerability in Langflow that allows unauthenticated remote code execution through a public flow build endpoint. It is essential for users to update to the patched version or implement workarounds to mitigate the risk of exploitation.

See every vulnerability recorded for langflow →

Share this vulnerability

FAQ

CVE-2026-33017 is a critical vulnerability in Langflow that allows unauthenticated remote code execution through the public flow build endpoint.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

The vulnerability can lead to complete server compromise, allowing attackers to execute arbitrary commands, read/write files, and exfiltrate sensitive data.

Yes, a patch is available in version 1.8.2 of Langflow. Users should update to this version to mitigate the vulnerability.

If immediate updates are not possible, avoid using the vulnerable endpoint and ensure that no user-supplied data is processed by the application.

Related vulnerabilities

Recent vulnerabilities recorded for langflow.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback