Skip to content
Threat Feed
critical advisory PoC

Authorization Bypass Vulnerability in Casdoor /api/mcp Endpoint

Casdoor versions through 4.4.0 contain an authorization bypass vulnerability (CVE-2026-91998) in the /api/mcp endpoint, allowing authenticated attackers to perform unauthorized administrative actions across all organizations.

CVE search metadata

CVE search record: CVE-2026-91998. Severity: critical. CVSS: 9.9. KEV: no. Product: Casdoor (<= 4.4.0). Brief: Authorization Bypass Vulnerability in Casdoor /api/mcp Endpoint. Brief link: https://feed.craftedsignal.io/briefs/2026-09-casdoor-auth-bypass/

What's new

  • 1. poc_available Sep 15, 15:31 via sploitus

Casdoor versions up to and including 4.4.0 are affected by a severe authorization bypass vulnerability (CVE-2026-91998) located within the /api/mcp endpoint. This vulnerability allows an attacker who possesses valid credentials (clientId and clientSecret) for any single application registered within the Casdoor instance to gain elevated administrative privileges.

By exploiting this flaw, an attacker can bypass scope restrictions and access administrative functions across all organizations managed by the Casdoor instance. This includes the ability to enumerate sensitive user records, such as email addresses and password salts, as well as the capability to create, modify, or delete administrator accounts. Because this exploit allows for arbitrary account manipulation, it poses a significant risk to the integrity of identity management systems using Casdoor. Defenders should prioritize patching or restricting access to the affected endpoint until an update is applied.

Impact

The vulnerability carries a CVSS v3.1 base score of 9.9. Successful exploitation allows for full administrative control over the Casdoor identity management environment. An attacker can gain unauthorized access to all user information, perform account takeover by modifying credentials, or delete existing users, potentially leading to widespread service disruption or credential theft across all connected organizations.

Recommendation

  • Immediately upgrade Casdoor to a version patched against CVE-2026-91998.
  • Audit access logs for the /api/mcp endpoint to identify requests originating from unauthorized clientId/clientSecret combinations or requests targeting organizations outside the scope of the authenticated client.
  • Monitor for suspicious administrative account creation or modification events occurring across all organizations simultaneously.

Immediate actions

Upgrade Casdoor to a version containing the fix for CVE-2026-91998

IT Operations 24h

Mitigations

Restrict access to the /api/mcp endpoint via network policy or WAF rules

immediate IT Operations

CVE-2026-91998

Detection coverage 1

Detect CVE-2026-91998 Exploitation - Unauthorized /api/mcp Access

high

Detects potential exploitation of CVE-2026-91998 by identifying administrative requests to the /api/mcp endpoint that deviate from expected application scope.

sigma tactics: privilege-escalation techniques: T1068 sources: webserver

Detection queries are available on the platform. Get full rules →