Skip to main content

CVE-2026-105761: CWE-639: Authorization Bypass Through User-Controlled Key in langgenius dify

0
High
VulnerabilityCVE-2026-105761cvecve-2026-105761cwe-639
Published: 10/05/2026 (10/05/2026, 23:03:44 UTC)
Source: CVE Database V5
Vendor/Project: langgenius
Product: dify

Description

Dify, an open-source LLM app development platform, had an authorization bypass vulnerability prior to version 1.16.0. The PUT /console/api/apps/<app_id>/server endpoint allowed authenticated workspace members to modify MCP server status and parameters of other applications without proper ownership verification. This could lead to unauthorized changes such as redirecting data or disabling services. The issue is fixed in version 1.16.0.

CVSS v3.1

Score 7.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L

Affected software

langgenius

dify

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

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: 10/05/2026, 23:33:12 UTC

Technical Analysis

The vulnerability (CVE-2026-105761) in Dify exists in the PUT /console/api/apps/<app_id>/server endpoint implemented in api/controllers/console/app/mcp_server.py. The AppMCPServerController.put() method retrieves an AppMCPServer instance by a client-supplied server ID but fails to verify that the server belongs to the specified application and tenant. As a result, an authenticated workspace member can change the MCP server status and parameters of other applications, potentially redirecting data or disabling services. This authorization bypass is classified as CWE-639. The vulnerability is resolved in Dify version 1.16.0.

Potential Impact

An authenticated workspace member can modify MCP server configurations of applications they do not own, potentially redirecting data flows or disabling application services. This could disrupt application functionality and compromise data integrity within the affected environment. There is no indication of confidentiality impact. The CVSS v3.1 score is 7.1 (High), reflecting the integrity impact and low attack complexity with network vector.

Mitigation Recommendations

Upgrade Dify to version 1.16.0 or later, where the authorization check verifying server ownership by application and tenant is implemented. No other mitigations are indicated. Patch status is confirmed fixed in version 1.16.0.

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
GitHub_M
Date Reserved
2026-10-05T19:11:07.948Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac430632cdf04f65645c897

Added to database: 10/05/2026, 23:18:59 UTC

Last enriched: 10/05/2026, 23:33:12 UTC

Last updated: 10/05/2026, 23:33:54 UTC

Views: 6

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