CVE-2025-13877: NocoBase docker-compose Deployments · Authentication Bypass via Default JWT Secret
Affects @nocobase/authSource GCVE Database
Public exploit available · CVSS 6.3 Medium : upgrade to 1.9.23 as a priority.
Data as of 27 Nov 2026, 04:52 UTC
Thin evidence
One scorer or none| CNA (VulDB) | CVSS 4.0 | 6.3 |
|---|---|---|
| CNA (VulDB) | CVSS 3.1 | 5.6 |
| CNA (VulDB) | CVSS 3.0 | 5.6 |
| CNA (VulDB) | CVSS 2.0 | 5.1 |
- Patch
- Available – fixed in 1.9.23, 1.9.0-beta.18, 2.0.0-alpha.52
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:PExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2025
Detectable: evidence found.
nuclei template: NocoBase - Default JWT Secret Authentication Bypass
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade @nocobase/auth to 1.9.23; @nocobase/auth to 1.9.0-beta.18; @nocobase/auth to 2.0.0-alpha.52.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@nocobase/auth | Affected
| Fixed in
|
| npm@nocobase/auth | Affected
| Fixed in
|
| npm@nocobase/auth | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability has been fully patched in NocoBase versions 1.9.23, 1.9.0-beta.18, and 2.0.0-alpha.52. Users should upgrade to one of these versions or later to remediate the issue. If immediate upgrade is not possible, users must explicitly set a strong, randomly generated JWT secret via the APP_KEY environment variable, restart all NocoBase instances to apply the new secret, invalidate all existing JWT sessions to force re-authentication, and verify that no default secret values remain in docker-compose.yml, .env files, or Kubernetes Secrets. These mitigations reduce risk until patching can be performed.
Description
CVE-2025-13877 is an authentication bypass vulnerability in NocoBase Docker deployments caused by the use of a public default JWT secret. Attackers can forge valid JWT tokens without credentials, impersonate users including administrators, and access or modify sensitive data. The vulnerability affects deployments using the default Docker configuration without overriding the JWT secret. It is remotely exploitable without authentication and has public proof-of-concept exploits. The issue has been fully patched in NocoBase versions 1.9.23, 1.9.0-beta.18, and 2.0.0-alpha.52. Temporary mitigations include setting a strong JWT secret and restarting instances.
References
- github.com/nocobase/nocobase/security/advisories/GHSA-mv7p-34fv-4874 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-13877 (opens in a new tab)
- github.com/nocobase/nocobase/commit/de4292ea7847dd26c6306445091769f8b9ee96d5 (opens in a new tab)
- docs.nocobase.com/welcome/getting-started/installation/docker-compose (opens in a new tab)
- gist.github.com/H2u8s/f3ede60d7ecfe598ae452aa5a8fbb90d (opens in a new tab)
- github.com/nocobase/nocobase (opens in a new tab)
- github.com/nocobase/nocobase/blob/main/docker/app-mariadb/docker-compose.yml (opens in a new tab)
- github.com/nocobase/nocobase/blob/main/docker/app-mysql/docker-compose.yml (opens in a new tab)
- github.com/nocobase/nocobase/blob/main/docker/app-postgres/docker-compose.yml (opens in a new tab)
- github.com/nocobase/nocobase/blob/main/docker/app-sqlite/docker-compose.yml (opens in a new tab)
- v2.docs.nocobase.com/get-started/installation/docker (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)
- vuldb.com (opens in a new tab)