CVE-2026-91998
9.9Casdoor · Casdoor
Casdoor through 4.4.0 contains an authorization bypass in the /api/mcp endpoint, allowing authenticated users with valid application credentials to perform unauthorized cross-organization administration.
Executive summary
An authorization bypass vulnerability in Casdoor versions up to 4.4.0 allows authenticated attackers to gain unrestricted administrative control over user records across all organizations.
Vulnerability
This vulnerability exists in the /api/mcp endpoint due to improper authorization checks. An attacker possessing valid clientId and clientSecret credentials for any single application can bypass intended security boundaries to enumerate, create, modify, or delete user accounts across the entire platform.
Business impact
The potential for unauthorized administrative access poses a critical risk to data integrity and identity management. An attacker could exfiltrate sensitive user data, such as email addresses and password salts, or establish persistent backdoors by creating new administrator accounts. Given the CVSS score of 9.9, this vulnerability represents a near-total compromise of the identity provider's security model, which could lead to widespread unauthorized access across all systems integrated with Casdoor.
Remediation
Immediate Action: Update Casdoor to the latest available version as soon as a patch is released by the vendor. In the absence of an immediate patch, restrict access to the /api/mcp endpoint at the network or application firewall level if it is not required for daily operations.
Proactive Monitoring: Review access logs for the /api/mcp endpoint, specifically looking for anomalous requests originating from application-level credentials that attempt to access resources outside of their assigned organization.
Compensating Controls: Implement strict Web Application Firewall (WAF) rules to inspect and block requests to /api/mcp that do not conform to expected patterns or that attempt to traverse organization boundaries.
Exploitation status
Public Exploit Available: Yes, a published PoC exists, attributed to the security researcher's technical write-up provided in the references.
Analyst recommendation
The severity of this flaw cannot be overstated, as it effectively nullifies the multi-tenancy security model of the Casdoor platform. Organizations utilizing Casdoor should prioritize auditing their current deployment and prepare to apply the vendor-provided patch immediately upon its release to prevent potential full-scale identity compromise.
More Casdoor CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
Originally found and disclosed by George Chen, per the CVE Program record.
- Researcher write-up, Finding 2 Exploit / PoC
- authz/authz.go unconditional app allow at v4.4.0 Technical analysis
- getUsernameByClientIdSecret at v4.4.0 Technical analysis
- mcpself/user.go unscoped user tools at v4.4.0 Technical analysis
- github.com
- VulnCheck Advisory: Casdoor through 4.4.0 Cross-Organization User Administration via /api/mcp Third-party advisory