CVE-2026-105761

Dify: IDOR in AppMCPServer PUT Endpoint Allows Modification of Other Apps' MCP Servers

Published Oct 5, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Dify is an open-source LLM app development platform. Prior to 1.16.0, the PUT /console/api/apps/&lt;app_id&gt;/server endpoint in api/controllers/console/app/mcp_server.py used AppMCPServerController.put() to retrieve an AppMCPServer by the client-supplied server ID without verifying that the server belonged to the requested application and tenant. An authenticated workspace member could therefore change another application's MCP server status and parameters, potentially redirecting data or disabling the service. This issue is fixed in version 1.16.0.

Analysis

AI-generated

Technical impact

The vulnerability is an IDOR in the PUT /console/api/apps/<app_id>/server endpoint of Dify. It allows an authenticated workspace member to provide a server ID that belongs to a different application, retrieve that server, and change its status or parameters. This can redirect data flows or disable the MCP service for other applications, potentially compromising integrity and availability.

Affected Systems

Affected is the langgenius:dify platform. Any deployment using a Dify version earlier than 1.16.0 is vulnerable. Version 1.16.0 and later contain the fix.

Risk and Exploitability

With a CVSS score of 7.1, the vulnerability is considered moderate to high severity. The EPSS score is not reported, and the vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. The likely attack vector is internal, requiring authentication as a workspace member within the same tenant. Exploitation would involve constructing a request to the PUT endpoint with a server ID from another application to alter its configuration.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Dify version 1.16.0 or newer to apply the fix
  • Verify that the server ID supplied in the PUT request matches the application and tenant of the authenticated user
  • Deploy access‑control checks around the /console/api/apps/<app_id>/server endpoint to prevent cross‑application updates

Generated by OpenCVE AI on October 6, 2026 at 00:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Langgenius
Langgenius dify
Vendors & Products Langgenius
Langgenius dify
Type Values Removed Values Added
Description Dify is an open-source LLM app development platform. Prior to 1.16.0, the PUT /console/api/apps/&lt;app_id&gt;/server endpoint in api/controllers/console/app/mcp_server.py used AppMCPServerController.put() to retrieve an AppMCPServer by the client-supplied server ID without verifying that the server belonged to the requested application and tenant. An authenticated workspace member could therefore change another application's MCP server status and parameters, potentially redirecting data or disabling the service. This issue is fixed in version 1.16.0.
Title Dify: IDOR in AppMCPServer PUT Endpoint Allows Modification of Other Apps' MCP Servers
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 6, 2026, 2:47 PM
Reserved
Oct 5, 2026, 7:11 PM
Status
Deferred
Published
Oct 5, 2026, 11:17 PM
Modified
Oct 6, 2026, 4:08 PM