CVE-2026-41950 Dify < 1.14.0 Authorization Bypass via File UUID

Medium 6.0 Published Updated

Authenticated users can read other users' files in the same tenant by exploiting missing ownership validation in chat message endpoints.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-41950?

CVE-2026-41950 is a medium-severity missing authorization vulnerability in langgenius dify, published on 5 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Dify before version 1.14.0 contains an authorization bypass vulnerability that allows authenticated users to read the full contents of files uploaded by other users within the same tenant by supplying an arbitrary file UUID in the files array of a chat-messages request. Attackers can exploit insufficient permission verification in the chat-messages endpoints to access files without ownership validation, bypassing workspace separation and signed URL protections to retrieve sensitive file contents through workflow processing.

Weakness: CWE-639

Which versions are affected by CVE-2026-41950?

It affects 1 product.

Products include Langgenius Dify.

How do I fix CVE-2026-41950?

No fix has been published for CVE-2026-41950 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-41950 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41950 exists.

Sources

Also known as GHSA-r2m5-9rwx-269r.

Is CVE-2026-41950 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free