CVE-2026-41950: LangGenius Dify authorization bypass in chat-messages endpoint

CVE-2026-41950 · Severity: medium · CVSS 6.5 · Published 2026-05-05

Dify is an open-source platform used to build and manage AI applications and workflows. A security flaw allowed logged-in users to view files uploaded by other people within the same organization or tenant. By exploiting this, an attacker could bypass privacy protections to access sensitive documents, images, or data used in AI chats.

Technologies: Langgenius Dify. Vendors: Langgenius.

Quick answers

Is CVE-2026-41950 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-41950 being exploited in the wild.
How severe is CVE-2026-41950?
Medium severity, with a CVSS score of 6.5, published 5 May 2026.
Which products and versions are affected?
Langgenius Dify < 1.14.0, before 1.14.0.
Is there a fix for CVE-2026-41950?
A patch was published on 2026-04-29: Version 1.14.0 released on GitHub Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-41950 attacked?
It is attacked over the network, in a hosted service.
Am I affected by CVE-2026-41950?
Check whether you run Langgenius Dify at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An authorization bypass exists in Dify's chat-messages endpoints due to insufficient permission verification. Authenticated users can supply an arbitrary file UUID in the 'files' array of a chat-messages request to access files they do not own. This flaw allows attackers to bypass workspace separation and signed URL protections, retrieving sensitive file contents through workflow processing. The vulnerability is classified as CWE-639 (Authorization Bypass Through User-Controlled Key) and was addressed in version 1.14.0.

Affected products

  • LangGenius Dify before 1.14.0

Timeline

  • 2026-04-29: patched: Version 1.14.0 released on GitHub
  • 2026-05-05: disclosed: Initial vulnerability disclosure and NVD publication
  • 2026-06-22: advisory: Detailed security blog post by Zafran Security published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.