A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2024-48061

CVE-2024-48061: Langflow Langflow RCE Vulnerability

CVE-2024-48061 is a remote code execution flaw in Langflow Langflow versions up to 1.0.18 that enables attackers to execute arbitrary code locally without sandboxing. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 8, 2026

CVE-2024-48061 Overview

CVE-2024-48061 is a critical Remote Code Execution (RCE) vulnerability affecting Langflow versions 1.0.18 and earlier. The vulnerability exists because Langflow components execute code directly on the local machine rather than within a sandboxed environment. Any component that provides code functionality can be exploited to execute arbitrary code on the underlying system.

Critical Impact

Attackers can execute arbitrary code on vulnerable Langflow instances, potentially leading to complete system compromise, data exfiltration, and lateral movement within the network.

Affected Products

  • Langflow versions ≤1.0.18
  • All Langflow installations running without proper sandboxing

Discovery Timeline

  • 2024-11-04 - CVE-2024-48061 published to NVD
  • 2025-05-28 - Last updated in NVD database

Technical Details for CVE-2024-48061

Vulnerability Analysis

This vulnerability is classified as CWE-94 (Improper Control of Generation of Code, also known as Code Injection). Langflow is an open-source platform designed for building LLM-powered applications through a visual interface. The platform allows users to create and execute custom components and workflows.

The core issue stems from the architecture of Langflow's component execution model. When users create or import components that contain executable code, that code runs directly on the host machine without any sandboxing or isolation. This design flaw means that any user with access to create or modify components can inject and execute arbitrary Python code with the same privileges as the Langflow process.

Root Cause

The root cause of CVE-2024-48061 is the absence of a secure execution sandbox for user-provided code within Langflow components. The application trusts component code implicitly and executes it in the same context as the main application, without implementing proper code isolation, input validation, or execution restrictions.

Attack Vector

The vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker can craft malicious Langflow components containing arbitrary Python code. When these components are loaded or executed within a Langflow instance, the malicious code runs with full system access. This allows attackers to:

  • Execute system commands on the host machine
  • Read, modify, or delete files accessible to the Langflow process
  • Establish reverse shells for persistent access
  • Pivot to other systems within the network
  • Exfiltrate sensitive data including API keys and credentials

Technical details and proof-of-concept code are available via the GitHub Gist PoC and the detailed vulnerability analysis on Notion.

Detection Methods for CVE-2024-48061

Indicators of Compromise

  • Unexpected outbound network connections from Langflow processes
  • Unusual child processes spawned by the Langflow application (e.g., shells, network utilities)
  • Modifications to system files or creation of new files in unexpected locations
  • Suspicious component imports or creations containing obfuscated code
  • Anomalous API calls or authentication attempts from the Langflow host

Detection Strategies

  • Monitor Langflow process behavior for execution of system commands using EDR solutions
  • Implement network monitoring to detect unexpected outbound connections from Langflow instances
  • Review Langflow component code for suspicious patterns including os.system(), subprocess, eval(), and exec() calls
  • Enable detailed logging for all component creation and modification events

Monitoring Recommendations

  • Deploy endpoint detection and response (EDR) solutions on systems running Langflow
  • Implement application-level logging to capture all component executions and their outputs
  • Set up alerts for process anomalies involving the Langflow application
  • Monitor for indicators of reverse shell establishment or command-and-control communications

How to Mitigate CVE-2024-48061

Immediate Actions Required

  • Upgrade Langflow to a version newer than 1.0.18 that includes proper sandboxing
  • Restrict network access to Langflow instances using firewall rules
  • Implement strong authentication and authorization controls for Langflow access
  • Audit existing components for suspicious or untrusted code
  • Consider temporarily disabling custom component functionality if upgrading is not immediately possible

Patch Information

Organizations should upgrade to the latest version of Langflow that addresses this vulnerability. Check the official Langflow GitHub repository for the most recent security releases. The vulnerability affects all versions through 1.0.18, so any version above this should contain the necessary fixes for proper code sandboxing.

Workarounds

  • Run Langflow instances in isolated containers with restricted privileges and network access
  • Implement network segmentation to limit the blast radius if exploitation occurs
  • Use application firewalls to restrict incoming requests to trusted sources only
  • Deploy Langflow with a non-privileged user account to limit potential damage
  • Regularly audit and review all custom components before deployment
bash
# Example: Run Langflow in a restricted Docker container
docker run -d \
  --name langflow-restricted \
  --network=internal-only \
  --read-only \
  --cap-drop=ALL \
  --security-opt=no-new-privileges:true \
  --user 1000:1000 \
  langflowai/langflow:latest

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.8

  • EPSS Probability13.20%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Gist PoC Code

  • Notion RCE Vulnerability Analysis
  • Related CVEs
  • CVE-2026-33873: Langflow Agentic Assistant RCE Vulnerability

  • CVE-2026-33017: Langflow Langflow RCE Vulnerability

  • CVE-2026-33309: Langflow Arbitrary File Write RCE Flaw

  • CVE-2026-33475: Langflow GitHub Actions RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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