CVE-2026-90942casdoor Incorrect Authorization
NVD
Vulnerability Summary
Casdoor through 4.4.0 fails to properly mask the instance-wide built-in certificate private key in /api/get-certs and /api/get-cert endpoints, allowing organization administrators to retrieve it. Attackers can use the exposed private key to forge JWT tokens for any user in any organization, including global administrators.
CVSS v4.0 Base Metrics — Score 9.3 (CRITICAL)
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)High
Integrity (Subsequent System)High
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 9.6)
CVSS v3.1 Base Metrics — Score 9.6 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone
Affected & Patched Versions
- casdoor <= 4.4.0
- casdoor 4.4.0
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run casdoor and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Sep 14, 2026Published
- Sep 14, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new casdoor CVEsYou are reading CVE-2026-90942. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore casdoor CVEs
External References
- Exploithttps://github.com/geo-chen/oss/blob/main/casdoor.md#finding-3-organization-admin-can-read-the-global-built-in-jwt-signing-private-key-via-apiget-certs-and-apiget-cert-incomplete-fix-of-3003--enables-cross-organization-token-forgery
- Referencehttps://github.com/casdoor/casdoor/blob/v4.4.0/controllers/cert.go
- Referencehttps://github.com/casdoor/casdoor/blob/v4.4.0/object/cert.go
- Referencehttps://github.com/casdoor/casdoor
- Referencehttps://www.vulncheck.com/advisories/casdoor-through-4.4.0-private-key-exposure-via-certificate-endpoints
Data last checked: Nov 22, 2026 23:12 UTC