CVE-2025-13877
nocobase JWT Service jwt-service.ts hard-coded key
Also known as GHSA-mv7p-34fv-4874
Mitigation
- Upgrade @nocobase/auth to one of 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52 (or later in the same release line).
Who should check
- Projects that depend on npm package @nocobase/auth (>= 1.9.0, < 1.9.23)
- Anyone running nocobase 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; …
Vulnerability facts
- Affected
- @nocobase/auth >= 1.9.0, < 1.9.23
- Fixed in
- 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Attack requirements: None
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 1.14% chance of exploitation in 30 days (percentile 66, 2026-11-26)
- CWE
- CWE-321, CWE-320
- Modified
Description
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 . 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @nocobase/auth | >= 1.9.0, < 1.9.23 | 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52 | osv |
| nocobase | 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; … | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-13877. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-13877.md Affected: @nocobase/auth >= 1.9.0, < 1.9.23 Fixed in: 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52 Steps: 1. Search this machine and project for @nocobase/auth (npm), nocobase: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Articles
Other
- https://vuldb.com/?ctiid.334033
- https://vuldb.com/?submit.692205
- https://docs.nocobase.com/welcome/getting-started/installation/docker-compose
- https://github.com/nocobase/nocobase
- https://github.com/nocobase/nocobase/blob/main/docker/app-mariadb/docker-compose.yml#L13
- https://github.com/nocobase/nocobase/blob/main/docker/app-mysql/docker-compose.yml#L13
- https://github.com/nocobase/nocobase/blob/main/docker/app-postgres/docker-compose.yml#L11
- https://github.com/nocobase/nocobase/blob/main/docker/app-sqlite/docker-compose.yml#L11
- https://v2.docs.nocobase.com/get-started/installation/docker
FAQ
Is CVE-2025-13877 being exploited?
There is no confirmed exploitation: CVE-2025-13877 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.14% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-13877?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-13877?
@nocobase/auth >= 1.9.0, < 1.9.23.
Is there a fix for CVE-2025-13877?
Yes. Fixed in 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52. Upgrade @nocobase/auth to one of 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52 (or later in the same release line).
How do I check if I'm affected by CVE-2025-13877?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.