CVE-2021-43786
mediumpriority · track · 31EPSS 0.024 · 84 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-hf2m-j98r-4fqwAPI token verification can be bypassed in NodeBB 2021-11-30ghsa · osvUS
### 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](mailto:security@nodebb.org)
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/cnnvd
- https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500cnnvd
- https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5cnnvd
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqwcnnvd
- https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/enisa_euvd
- https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500enisa_euvd
- https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5enisa_euvd
- https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqwenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan