---
id: CVE-2026-41949
title: >-
  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 onl…
summary: >-
  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 onl…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-639
vendor: dify
product: dify
affected:
  - dify <= 1.14.1
published: '2026-05-18'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-41949'
references:
  - url: >-
      https://github.com/langgenius/dify/commit/432a6412a3fdb30ce48003d699b90cc7d890df20
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langgenius/dify/pull/35797'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/langgenius/dify/releases/tag/1.14.2'
    label: disclosure@vulncheck.com
  - url: 'https://huntr.com/bounties/d50a0240-7951-4939-b989-9bded66c7682'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/dify-authorization-bypass-via-file-preview-endpoint
    label: disclosure@vulncheck.com
  - url: >-
      https://www.zafran.io/resources/difytap-zafran-discovers-how-attackers-can-silently-wiretap-ai-data-across-tenants-on-a-platform-powering-1m-apps
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00566
epssPercentile: 0.45662
ingestedAt: '2026-10-14T20:53:12.304Z'
---

## Overview

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.

## Affected

- `dify <= 1.14.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
