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
    • 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-41950

CVE-2026-41950: Dify Authorization Bypass Vulnerability

CVE-2026-41950 is an authorization bypass flaw in Dify before version 1.14.0 that allows authenticated users to access files uploaded by others within the same tenant. This article covers technical details, affected versions, impact, and mitigation steps.

Published: May 7, 2026

CVE-2026-41950 Overview

CVE-2026-41950 is an authorization bypass vulnerability in Dify, an open-source large language model (LLM) application development platform. Versions prior to 1.14.0 fail to validate file ownership in the chat-messages endpoints. Authenticated users within the same tenant can supply an arbitrary file UUID in the files array of a chat-messages request and retrieve the contents of files owned by other users. The flaw bypasses workspace separation and signed URL protections, exposing sensitive file contents through workflow processing. The weakness is classified as [CWE-639] Authorization Bypass Through User-Controlled Key.

Critical Impact

Authenticated tenant users can read arbitrary files uploaded by other users by referencing the target file UUID in chat-messages requests, breaking tenant-internal data isolation.

Affected Products

  • Dify versions prior to 1.14.0
  • Self-hosted Dify deployments
  • Multi-tenant Dify workspaces sharing user access

Discovery Timeline

  • 2026-05-05 - CVE-2026-41950 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-41950

Vulnerability Analysis

The vulnerability exists in Dify's chat-messages endpoints, which accept a files array referencing previously uploaded file UUIDs. The endpoint resolves each UUID to its underlying file object and feeds the contents into the workflow engine for LLM processing. Permission checks confirm only that the requester is authenticated within the tenant. The handler does not verify that the requesting user owns or has been granted access to the referenced file.

An attacker with a low-privileged tenant account can enumerate or guess file UUIDs and submit them through a crafted chat-messages request. The workflow processing path returns file contents in the model response or echoes them through downstream nodes, leaking sensitive documents uploaded by other tenant users.

Root Cause

The root cause is missing ownership validation on file references passed through the files parameter. Dify relies on signed URLs at the upload boundary but trusts the UUID once the file exists in storage. The chat-messages controller resolves UUIDs directly without cross-checking the file's owner against the authenticated session, breaking the workspace separation model.

Attack Vector

Exploitation requires network access to the Dify API and a valid authenticated session within the target tenant. The attacker issues a POST request to a chat-messages endpoint with a crafted JSON body containing a target file UUID in the files array. The workflow processes the file and returns its contents, allowing the attacker to exfiltrate data without modifying or deleting the original file. Confidentiality is impacted while integrity and availability remain intact.

No public proof-of-concept code has been confirmed by the vendor. Technical details are available in the Huntr Bounty Report and the VulnCheck Advisory.

Detection Methods for CVE-2026-41950

Indicators of Compromise

  • Chat-messages API requests containing files arrays with UUIDs not previously uploaded by the requesting user session.
  • Anomalous spikes in workflow execution responses returning large file contents to low-privileged accounts.
  • Repeated 200 OK responses from /v1/chat-messages or /console/api/apps/*/chat-messages paired with UUID enumeration patterns.

Detection Strategies

  • Correlate Dify application logs to match each file_id referenced in chat-messages requests against the created_by field of the file record.
  • Alert when a single user references file UUIDs owned by more than a configurable number of distinct other users within a short window.
  • Inspect reverse proxy logs for high-volume POST traffic to chat-messages endpoints with varying UUID payloads from the same session token.

Monitoring Recommendations

  • Enable verbose audit logging on the Dify API gateway and forward logs to a centralized SIEM for retention and correlation.
  • Track per-tenant baselines for file access volume and flag deviations indicative of UUID enumeration.
  • Monitor outbound responses from workflow nodes for unexpected file content disclosure to non-owner accounts.

How to Mitigate CVE-2026-41950

Immediate Actions Required

  • Upgrade Dify to version 1.14.0 or later, which adds ownership validation on file references in chat-messages requests.
  • Review tenant membership and revoke unnecessary user accounts to reduce the population of accounts able to exploit the bypass.
  • Audit historical chat-messages logs for cross-user file UUID references and assess potential data exposure.

Patch Information

The vendor released the fix in Dify 1.14.0. See the GitHub Release 1.14.0 notes for upgrade instructions and the full changelog. Self-hosted operators should rebuild containers from the patched tag and verify that the chat-messages controller now enforces file ownership checks.

Workarounds

  • Restrict tenant access to trusted users only until the patch is applied, since exploitation requires authenticated tenant access.
  • Place the Dify API behind a web application firewall and rate-limit chat-messages endpoints to slow UUID enumeration.
  • Disable file upload features for sensitive workspaces if upgrading immediately is not feasible.
bash
# Upgrade self-hosted Dify deployment to the patched release
git fetch --tags
git checkout 1.14.0
docker compose -f docker/docker-compose.yaml pull
docker compose -f docker/docker-compose.yaml up -d

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechDify

  • SeverityMEDIUM

  • CVSS Score6.0

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/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
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • GitHub Release 1.14.0

  • Huntr Bounty Report

  • VulnCheck Advisory: Dify Bypass
  • Related CVEs
  • CVE-2026-34082: Dify Authorization Bypass Vulnerability

  • CVE-2026-42138: Dify LLM Platform XSS Vulnerability

  • CVE-2026-21866: Dify Stored XSS Vulnerability

  • CVE-2026-28288: Dify Information Disclosure 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