Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 64%

CVE-2026-41949: Authorization Bypass Through User-Controlled Key in langgenius dify

0
High
VulnerabilityCVE-2026-41949cvecve-2026-41949
Published: 05/18/2026 (05/18/2026, 13:52:03 UTC)
Source: CVE Database V5
Vendor/Project: langgenius
Product: dify

Description

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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
langgenius/dify
pkg:github/langgenius/dify
Affected versions
<1.14.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:31:56 UTC

Technical Analysis

CVE-2026-41949 is an authorization bypass vulnerability in langgenius's Dify product affecting versions before 1.14.2. The vulnerability exists in the /console/api/files/{file_id}/preview endpoint, where an authenticated user can supply a file UUID to retrieve a preview of up to 3,000 characters of any uploaded document, regardless of tenant or workspace permissions. This allows unauthorized access to sensitive document content. The vulnerability is exacerbated by Dify Cloud's policy of allowing unauthenticated free self-registration, facilitating attacker account creation. No official remediation level or patch information is provided in the available data.

Potential Impact

An attacker with any authenticated account can bypass authorization controls to read partial contents of any uploaded document across all tenants and workspaces. This leads to unauthorized disclosure of potentially sensitive information. The ability to create accounts freely on Dify Cloud lowers the barrier for exploitation. There is no indication of privilege escalation or data modification, but confidentiality is compromised.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the file preview endpoint to trusted users only and monitor for suspicious use of file UUIDs. Consider disabling or limiting the preview functionality if feasible. Review account creation policies to reduce ease of attacker registration.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-04-22T18:50:43.622Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0b2098ec166c07b0c69452

Added to database: 05/18/2026, 14:22:16 UTC

Last enriched: 07/15/2026, 10:31:56 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 205

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses