Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2026-34046

CVE-2026-34046: Langflow Information Disclosure Flaw

CVE-2026-34046 is an information disclosure vulnerability in Langflow that allows authenticated users to access other users' flows, including API keys. This article covers technical details, affected versions, and fixes.

Published: April 2, 2026

CVE-2026-34046 Overview

Langflow, a tool for building and deploying AI-powered agents and workflows, contains an Insecure Direct Object Reference (IDOR) vulnerability in its Flow API. Prior to version 1.5.1, the _read_flow helper function in src/backend/base/langflow/api/v1/flows.py failed to properly enforce ownership checks when authentication was enabled. This flaw allows any authenticated user to access, modify, or delete flows belonging to other users, including flows containing sensitive plaintext API keys.

Critical Impact

Authenticated attackers can read any user's flow data including embedded API keys, modify AI agent logic, and delete flows belonging to other users, potentially leading to data breaches, supply chain attacks on AI workflows, and denial of service.

Affected Products

  • Langflow versions prior to 1.5.1

Discovery Timeline

  • 2026-03-27 - CVE CVE-2026-34046 published to NVD
  • 2026-03-30 - Last updated in NVD database

Technical Details for CVE-2026-34046

Vulnerability Analysis

This vulnerability is classified as CWE-639: Authorization Bypass Through User-Controlled Key, commonly known as an Insecure Direct Object Reference (IDOR). The flaw exists in the flow retrieval logic within Langflow's backend API.

The _read_flow helper function was designed to branch based on the AUTO_LOGIN configuration setting to determine whether to filter database queries by user_id. However, when AUTO_LOGIN was set to False (meaning authentication was enabled), the code path failed to include an ownership verification check. As a result, database queries returned any flow matching the provided UUID regardless of the requesting user's ownership rights.

The vulnerability allows authenticated users to perform unauthorized operations on flows owned by other users. An attacker could leverage this to extract sensitive information such as plaintext API keys embedded in other users' flows, manipulate the logic of AI agents and workflows belonging to other users, or delete critical flows causing service disruption.

Root Cause

The root cause stems from flawed conditional logic intended to accommodate public or example flows (those with user_id = NULL) under auto-login mode. The developers implemented a branching condition based on the AUTO_LOGIN setting, but this inadvertently left the authenticated code path without proper ownership filtering. When authentication was enabled, the query simply matched flows by UUID without verifying that the requesting user owned the resource.

Attack Vector

This vulnerability is exploitable over the network by any authenticated user. The attack requires low privileges (valid user account) and no user interaction. An attacker would simply need to enumerate or guess valid flow UUIDs and make API requests to read, modify, or delete those flows. Since Langflow is used for AI agent and workflow management, compromised flows could contain sensitive API keys for external services, allowing attackers to pivot to additional systems.

The fix implemented in version 1.5.1 removes the AUTO_LOGIN conditional entirely and unconditionally scopes all flow queries to the requesting user's user_id, ensuring proper authorization regardless of the authentication configuration.

Detection Methods for CVE-2026-34046

Indicators of Compromise

  • Unusual API access patterns to /api/v1/flows/{flow_id} endpoints with UUIDs not owned by the requesting user
  • Audit log entries showing users accessing, modifying, or deleting flows that belong to other accounts
  • Unexpected changes to AI workflow configurations or agent logic
  • Reports of missing or modified flows from legitimate users

Detection Strategies

  • Monitor authentication logs for users making requests to multiple flow UUIDs in rapid succession
  • Implement anomaly detection on the Flow API endpoints to identify unauthorized access attempts
  • Review database query logs for flow retrievals that do not include user_id filtering
  • Enable detailed API request logging to capture flow access patterns per user

Monitoring Recommendations

  • Deploy application-layer monitoring on Langflow API endpoints to detect IDOR exploitation attempts
  • Establish baseline access patterns for flow operations and alert on deviations
  • Implement real-time alerting for bulk flow enumeration activity
  • Monitor for extraction of flow data containing API keys or sensitive configurations

How to Mitigate CVE-2026-34046

Immediate Actions Required

  • Upgrade Langflow to version 1.5.1 or later immediately
  • Audit existing flows for any unauthorized modifications or access
  • Rotate any API keys that were embedded in Langflow flows
  • Review access logs to identify potential exploitation of this vulnerability

Patch Information

The vulnerability was addressed in Langflow version 1.5.1. The fix removes the AUTO_LOGIN conditional entirely from the _read_flow helper function and unconditionally scopes all flow queries to the requesting user's user_id. Organizations should upgrade to this version as the primary remediation.

For additional details, refer to the GitHub Security Advisory and the GitHub Pull Request containing the fix.

Workarounds

  • If immediate upgrade is not possible, consider temporarily disabling external network access to the Langflow instance
  • Implement network-level access controls to restrict API access to trusted users only
  • Avoid storing sensitive API keys directly in flows; use environment variables or external secret management instead
  • Consider enabling additional authentication layers such as VPN or reverse proxy with additional authorization checks
bash
# Upgrade Langflow to patched version
pip install --upgrade langflow>=1.5.1

# Verify installed version
pip show langflow | grep Version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechLangflow

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.08%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Pull Request

  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-6597: Langflow-AI Information Disclosure Flaw

  • CVE-2026-6598: Langflow Information Disclosure Flaw

  • CVE-2026-6596: Langflow-AI Auth Bypass Vulnerability

  • CVE-2026-6600: langflow-ai langflow XSS Vulnerability
Default Legacy - Prefooter | 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