CVE-2026-41949: Dify < 1.14.2 Authorization Bypass via File Preview Endpoint
Dify before version 1.14.2 contains an authorization bypass vulnerability in the file preview endpoint that allows any authenticated user to read up to 3,000 characters of any uploaded document across all tenants and workspaces using only the file's UUID. Attackers can access the /console/api/files/{file_id}/preview endpoint with an intercepted file UUID to extract sensitive content from documents without ownership or workspace permission verification. NOTE: Dify Cloud allows unauthenticated free self-registration, making account creation trivially accessible to any attacker.
Security readout for executives and security teams
Plain-English summary
Dify versions before 1.14.2 could let a user read previews of documents they do not own if they know a file UUID. In multi-tenant or shared workspace deployments, this can expose sensitive uploaded content across boundaries. The provided sources do not show confirmed active exploitation.
Executive priority
Treat as urgent for any Dify environment containing sensitive customer, internal, or regulated documents. Prioritize upgrade and exposure review before broader operational work.
Technical view
The flaw is an authorization bypass in Dify's file preview endpoint. Ownership or workspace permission checks were missing, allowing document preview disclosure of up to 3,000 characters by file UUID. The CVE maps to CWE-639 and is fixed in the 1.14.2 release and linked patch.
Likely exposure
Exposed Dify deployments before 1.14.2 are the concern, especially multi-tenant, workspace-based, or cloud/self-registration environments handling confidential uploaded documents.
Exploitation context
Provided sources describe exploitability when an attacker has or intercepts a file UUID. KEV is false, and the bundle provides no evidence of active exploitation in the wild.
Researcher notes
Evidence supports an IDOR-style tenant boundary failure in file preview handling. Scope should focus on pre-1.14.2 deployments, file UUID exposure paths, and whether audit logs can distinguish legitimate preview activity from cross-workspace access.
Mitigation direction
Upgrade Dify to version 1.14.2 or later.
Review the linked Dify patch and release notes for vendor guidance.
Restrict Dify access until upgraded, especially public or self-registration deployments.
Review document exposure risk for sensitive uploads.
Monitor preview endpoint access for unexpected users or tenants.
Validation and detection
Inventory Dify instances and confirm their running versions.
Identify whether public registration or broad authenticated access is enabled.
Review logs for unusual file preview access across workspaces or tenants.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-639: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-639 · source CWE mapping
Authorization Bypass Through User-Controlled Key
Authorization Bypass Through User-Controlled Key represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.