The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-33017

CVE-2026-33017: Langflow Langflow RCE Vulnerability

CVE-2026-33017 is a remote code execution flaw in Langflow Langflow that allows unauthenticated attackers to execute arbitrary Python code. This post explains its impact, affected versions, and mitigation steps.

Published: March 27, 2026

CVE-2026-33017 Overview

CVE-2026-33017 is a critical unauthenticated remote code execution (RCE) vulnerability in Langflow, a popular open-source tool for building and deploying AI-powered agents and workflows. The vulnerability exists in the POST /api/v1/build_public_tmp/{flow_id}/flow endpoint, which allows building public flows without requiring authentication. When the optional data parameter is supplied, the endpoint incorrectly accepts attacker-controlled flow data containing arbitrary Python code in node definitions instead of using the stored flow data from the database. This malicious code is then passed directly to Python's exec() function with zero sandboxing, resulting in complete system compromise.

Critical Impact

This vulnerability allows unauthenticated attackers to execute arbitrary code on vulnerable Langflow instances via network access. CISA has added this vulnerability to the Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Affected Products

  • Langflow versions prior to 1.9.0
  • Self-hosted Langflow deployments with public flow functionality enabled
  • Cloud-based Langflow instances accessible from the network

Discovery Timeline

  • 2026-03-20 - CVE-2026-33017 published to NVD
  • 2026-03-26 - Last updated in NVD database

Technical Details for CVE-2026-33017

Vulnerability Analysis

This vulnerability represents a critical code injection flaw (CWE-94) in Langflow's public flow building functionality. The build_public_tmp endpoint was designed to allow unauthenticated access for building public flows, which is intended behavior. However, the endpoint also accepted an optional data parameter that allowed users to supply their own flow data. When this parameter was provided, the endpoint would use the attacker-controlled flow data instead of the legitimate flow data stored in the database.

The flow data can contain arbitrary Python code within node definitions. When processed by the build function, this code is passed to Python's exec() function without any sandboxing, input validation, or code sanitization. This allows attackers to execute arbitrary system commands, install backdoors, exfiltrate data, or pivot to other systems on the network.

This vulnerability is distinct from CVE-2025-3248, which addressed a similar issue in the /api/v1/validate/code endpoint by adding authentication requirements. The build_public_tmp endpoint was intentionally designed to be unauthenticated for public flows but failed to account for the risk of accepting untrusted flow data.

Root Cause

The root cause is the acceptance of user-supplied flow data containing executable Python code in an unauthenticated endpoint. The endpoint trusted the data parameter without validating that the flow data came from a legitimate source, and the code execution path lacked any sandboxing or input sanitization mechanisms.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can craft a malicious HTTP POST request to the vulnerable endpoint with a valid flow_id and include arbitrary Python code within the data parameter's node definitions. The code executes with the privileges of the Langflow server process, typically providing full system access.

According to Sysdig's analysis, attackers began exploiting this vulnerability within 20 hours of public disclosure, demonstrating the ease of exploitation and the high value targets running Langflow.

The security patch removes the data parameter from the endpoint entirely, ensuring that only stored flow data from the database can be used:

python
     background_tasks: LimitVertexBuildBackgroundTasks,
     flow_id: uuid.UUID,
     inputs: Annotated[InputValueRequest | None, Body(embed=True)] = None,
-    data: Annotated[FlowDataRequest | None, Body(embed=True)] = None,
     files: list[str] | None = None,
     stop_component_id: str | None = None,
     start_component_id: str | None = None,

Source: GitHub Commit

Detection Methods for CVE-2026-33017

Indicators of Compromise

  • Unexpected POST requests to /api/v1/build_public_tmp/*/flow endpoints containing data parameters with Python code
  • Unusual process spawning from the Langflow server process (e.g., shell commands, reverse shells)
  • Network connections from Langflow servers to unknown external IP addresses
  • New user accounts or SSH keys created on systems running Langflow

Detection Strategies

  • Monitor web application logs for POST requests to build_public_tmp endpoints containing suspicious data payloads
  • Implement network intrusion detection rules to identify malicious Python code patterns in HTTP request bodies
  • Deploy endpoint detection and response (EDR) solutions to detect anomalous process execution from Langflow processes
  • Review application-level logging for flow builds with externally supplied data parameters

Monitoring Recommendations

  • Enable verbose logging on Langflow instances to capture all API requests and their parameters
  • Configure SIEM alerts for any access to the vulnerable endpoint pattern /api/v1/build_public_tmp/*/flow
  • Monitor for indicators of cryptominer deployment or botnet activity on Langflow hosts
  • Establish baseline behavior for Langflow servers and alert on deviations

How to Mitigate CVE-2026-33017

Immediate Actions Required

  • Upgrade Langflow to version 1.9.0 or later immediately
  • If immediate upgrade is not possible, restrict network access to Langflow instances using firewall rules
  • Review Langflow server logs for evidence of exploitation attempts
  • Audit systems running Langflow for signs of compromise

Patch Information

The vulnerability has been fixed in Langflow version 1.9.0. The fix removes the data parameter from the build_public_tmp endpoint entirely, preventing attackers from supplying malicious flow data. Organizations should upgrade to the latest version immediately.

  • GitHub Security Advisory GHSA-vwmf-pq79-vjvx
  • Security Patch Commit

Workarounds

  • Implement network-level access controls to restrict access to Langflow instances to trusted IP addresses only
  • Deploy a web application firewall (WAF) to block requests containing suspicious Python code patterns in POST bodies
  • Disable public flow functionality if not required for business operations
  • Place Langflow instances behind an authentication proxy to require authentication for all endpoints
bash
# Example: Block access to vulnerable endpoint using nginx
location ~ ^/api/v1/build_public_tmp/.*/flow$ {
    deny all;
    return 403;
}

# Example: Restrict Langflow access to internal networks using iptables
iptables -A INPUT -p tcp --dport 7860 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 7860 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechLangflow

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability6.14%

  • Known ExploitedNo
  • CVSS Vector
  • 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:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory

  • GitHub Release 1.8.2

  • Medium Blog Post on RCE

  • CISA Exploit Catalog Entry

  • CISA Exploit Catalog Entry

  • Sysdig Blog on Langflow Attack
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33309: Langflow Arbitrary File Write RCE Flaw

  • CVE-2026-33475: Langflow GitHub Actions RCE Vulnerability

  • CVE-2026-27966: Langflow CSV Agent Node RCE Vulnerability

  • CVE-2026-0770: Langflow exec_globals RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English