{"id":"CVE-2026-90942","state":"PUBLISHED","title":"Casdoor through 4.4.0 Private Key Exposure via Certificate Endpoints","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.","publishedAt":"2026-09-14T17:52:04.812Z","updatedAt":"2026-09-24T14:22:03.810Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["casdoor casdoor"],"affected":[{"vendor":"casdoor","product":"casdoor","packageURL":"pkg:github/casdoor/casdoor","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.4.0","versionType":"semver"}],"repo":"https://github.com/casdoor/casdoor"}],"references":["https://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","https://github.com/casdoor/casdoor/blob/v4.4.0/controllers/cert.go","https://github.com/casdoor/casdoor/blob/v4.4.0/object/cert.go","https://github.com/casdoor/casdoor","https://www.vulncheck.com/advisories/casdoor-through-4.4.0-private-key-exposure-via-certificate-endpoints"],"weaknesses":["CWE-863"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/90xxx/CVE-2026-90942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-90942","state":"PUBLISHED","datePublished":"2026-09-14T17:52:04.812Z","dateUpdated":"2026-09-24T14:22:03.810Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-14T11:34:24.687Z"},"containers":{"cna":{"title":"Casdoor through 4.4.0 Private Key Exposure via Certificate Endpoints","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"casdoor","product":"casdoor","packageURL":"pkg:github/casdoor/casdoor","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"4.4.0","versionType":"semver"}],"repo":"https://github.com/casdoor/casdoor"}],"references":[{"url":"https://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","tags":["third-party-advisory","exploit"],"name":"Researcher write-up, Finding 3"},{"url":"https://github.com/casdoor/casdoor/blob/v4.4.0/controllers/cert.go","tags":["technical-description"],"name":"controllers/cert.go at v4.4.0"},{"url":"https://github.com/casdoor/casdoor/blob/v4.4.0/object/cert.go","tags":["technical-description"],"name":"object/cert.go at v4.4.0"},{"url":"https://github.com/casdoor/casdoor","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/casdoor-through-4.4.0-private-key-exposure-via-certificate-endpoints","name":"VulnCheck Advisory: Casdoor through 4.4.0 Private Key Exposure via Certificate Endpoints","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.6,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-24T14:22:03.810Z"},"datePublic":"2026-07-08T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*","versionEndIncluding":"4.4.0"}]}]}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T19:07:44.583769Z","id":"CVE-2026-90942","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T19:07:57.306Z"}}]}}}