# Authentication Bypass via Default JWT Secret in NocoBase docker-compose Deployments

Advisory record · `GHSA-mv7p-34fv-4874`

- **Identifiers:** `GHSA-mv7p-34fv-4874` · `CVE-2025-13877`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-320](https://cwe.mitre.org/data/definitions/320.html) · [CWE-321](https://cwe.mitre.org/data/definitions/321.html) · [CWE-1320](https://cwe.mitre.org/data/definitions/1320.html)
- **Tags:** [Hard-coded credentials](https://agentprime.io/advisories/tag/hard-coded-credentials.md) · [CWE-320](https://agentprime.io/advisories/tag/cwe-320.md) · [CWE-1320](https://agentprime.io/advisories/tag/cwe-1320.md)
- **Published:** 9 Dec 2025
- **Updated:** 9 Dec 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 9 Dec 2025, 17:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `@nocobase/auth` (npm): affected `>=1.9.0, <1.9.23 || <1.9.0-beta.18 || >=2.0.0-alpha.1, <2.0.0-alpha.52`; fixed in `1.9.23`, `1.9.0-beta.18`, `2.0.0-alpha.52`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.3 Medium, CVSS 4.0: `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:P`, from CNA (VulDB)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0033, the 26th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 9 Dec 2025. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-mv7p-34fv-4874](https://github.com/advisories/GHSA-mv7p-34fv-4874)
- [OSV: GHSA-mv7p-34fv-4874](https://osv.dev/vulnerability/GHSA-mv7p-34fv-4874)
- <https://github.com/nocobase/nocobase/security/advisories/GHSA-mv7p-34fv-4874>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-13877>
- <https://github.com/nocobase/nocobase/commit/de4292ea7847dd26c6306445091769f8b9ee96d5>
- <https://docs.nocobase.com/welcome/getting-started/installation/docker-compose>
- <https://gist.github.com/H2u8s/f3ede60d7ecfe598ae452aa5a8fbb90d>
- <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>
- <https://vuldb.com/?ctiid.334033>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-mv7p-34fv-4874>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-mv7p-34fv-4874/>. Everything for agents: <https://agentprime.io/llms.txt>.
