9.8critical
API token verification can be bypassed
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.37% (higher than 85% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hf2m-j98r-4fqw
Description
Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintentionally allowed master token access to the API. The vulnerability has been patch as of v1.18.5. Users are advised to upgrade as soon as possible.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| NodeBB NodeBB | >= 1.15.0, < 1.18.5, from 1.15.0 up to 1.18.4 | CVE List, NVD |
| nodebb (npm) | from 1.15.0 before 1.18.5 | GitHub Advisory Database |
All scores
| GitHub_M | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
Nodebb is an open source Node.js based forum software. In affected versions incorrect logic present in the token verification step unintentionally allowed master token access to the API. The vulnerability has been patch as of v1.18.5. Users are advised to upgrade as soon as possible.
GitHub Advisory Database
Impact
Incorrect logic present in the token verification step unintentionally allowed master token access to the API.
Patches
The vulnerability has been patch as of v1.18.5.
Workarounds
Cherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade.
For more information
If you have any questions or comments about this advisory:
- Email us at security@nodebb.org
NVD (es)
Nodebb es un software de foro de código abierto basado en Node.js. En las versiones afectadas, una lógica incorrecta presente en el paso de verificación del token permitía involuntariamente el acceso del token maestro a la API. La vulnerabilidad ha sido parcheada a partir de la versión v1.18.5. Se recomienda a usuarios que actualicen lo antes posible
References
| https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5 | release-notes, third-party-advisory, web | |
| https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw | third-party-advisory, web | |
| https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500 | patch, third-party-advisory, web | |
| https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ | exploit, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-43786 | advisory | |
| https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot | web | |
| https://github.com/NodeBB/NodeBB | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43786 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hf2m-j98r-4fqw changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-43786 changed 2026-06-17 | Public domain |