CVE-2021-43786
HIGH 7.5CVSS 3.1API token verification can be bypassed in NodeBB
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.
- Published
- 29 Nov 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-hf2m-j98r-4fqw
- Sources
- NVDJSONOSV GHSA-hf2m-j98r-4fqwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodebb | nodebbcpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:* |
>= 1.15.0, <= 1.18.4 | |
| OSV | npm | nodebb | >= 1.15.0, < 1.18.5 | 1.18.5 |
References
- https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/ · Exploit, Third Party Advisory, WEB
- https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500 · Patch, Third Party Advisory, WEB
- 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://nvd.nist.gov/vuln/detail/CVE-2021-43786 · ADVISORY
- https://github.com/NodeBB/NodeBB · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 29 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 30 Nov 2021)