{"id":"CVE-2025-13877","published":"2025-12-02T16:02:05Z","modified":"2025-12-02T16:18:30Z","title":"nocobase JWT Service jwt-service.ts hard-coded key","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was detected in nocobase up to 1.9.4/2.0.0-alpha.37. The affected element is an unknown function of the file nocobase\\packages\\core\\auth\\src\\base\\jwt-service.ts of the component JWT Service. The manipulation of the argument API_KEY results in use of hard-coded cryptographic key\r . The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is described as difficult. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00711,"percentile":0.54297,"provenance":"source"},"cwes":[{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"},{"id":"CWE-320","name":"Key Management Error"}],"references":[{"url":"https://vuldb.com/?id.334033","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.334033","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.692205","tags":["third-party-advisory"]},{"url":"https://gist.github.com/H2u8s/f3ede60d7ecfe598ae452aa5a8fbb90d","tags":["exploit"]}],"priority":{"score":19.8,"factors":[{"name":"EPSS percentile","points":10.86},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.92}]},"exploitSources":{"nuclei":[{"id":"CVE-2025-13877","name":"NocoBase - Default JWT Secret Authentication Bypass","severity":"medium","path":"http/cves/2025/CVE-2025-13877.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-13877.yaml"}],"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"nocobase","versions":["1.9.0","1.9.1","1.9.2","1.9.3","1.9.4","2.0.0-alpha.0","2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T16:16:15.434340Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@nocobase/auth","vulnerableRanges":[">=1.9.0, <1.9.23","<1.9.0-beta.18",">=2.0.0-alpha.1, <2.0.0-alpha.52"],"patched":["1.9.23","1.9.0-beta.18","2.0.0-alpha.52"],"from":["GHSA-mv7p-34fv-4874"],"provenance":"source"}],"summary":{"text":"The NocoBase JWT Service component, in the jwt-service.ts file within the core authentication package, uses a hard-coded cryptographic key in place of a securely managed one, affecting versions up to 1.9.4 and 2.0.0-alpha.37. An attacker with network access can exploit it remotely without authentication or user interaction, though the attack is considered highly complex to carry out.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:43:34Z"},"euvd":{"id":"EUVD-2025-200266","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/H2u8s/f3ede60d7ecfe598ae452aa5a8fbb90d"]}