CVE-2026-90942
Received Received - Intake

Casdoor Private Key Exposure Leading to JWT Forgery

Vulnerability report for CVE-2026-90942, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-14

Last updated on: 2026-09-14

Assigner: VulnCheck

Description

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-14
Last Modified
2026-09-14
Generated
2026-09-14
AI Q&A
2026-09-14
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
casdoor casdoor to 4.4.0 (inc)
casdoor casdoor 4.4.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Casdoor through version 4.4.0 does not properly hide the instance-wide built-in certificate private key. This key can be retrieved by organization administrators via the /api/get-certs and /api/get-cert endpoints. Attackers with access to this key can forge JWT tokens for any user across all organizations, including global administrators.

Detection Guidance

Check if the endpoints /api/get-certs or /api/get-cert are accessible and return sensitive certificate private keys. Use tools like curl to query these endpoints: curl -X GET http://<target>/api/get-certs or curl -X GET http://<target>/api/get-cert. Monitor logs for unauthorized access to these endpoints.

Impact Analysis

If you are an organization administrator or user of Casdoor, attackers could impersonate you or other users by forging JWT tokens. This could lead to unauthorized access to sensitive data, privilege escalation, or complete system compromise. Global administrators are particularly at risk as their tokens could grant access to all organizations.

Compliance Impact

This vulnerability likely violates compliance requirements for data protection and access control. GDPR requires protecting personal data and ensuring proper authentication, while HIPAA mandates secure access to health information. The exposure of private keys and ability to forge tokens could lead to unauthorized data access, resulting in non-compliance and potential legal consequences.

Mitigation Strategies

Upgrade Casdoor to a version later than 4.4.0 where the issue is fixed. Restrict access to the /api/get-certs and /api/get-cert endpoints to authorized users only. Rotate all exposed certificate private keys immediately to prevent token forgery.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-90942. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart