# CVE-2021-43786: API token verification can be bypassed

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.37%, higher than 85% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-29T19:30:17.000Z
- Modified: 2026-07-08T06:28:56.284Z
- Also known as: GHSA-hf2m-j98r-4fqw
- Weaknesses: CWE-287
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- NodeBB NodeBB: >= 1.15.0, < 1.18.5; from 1.15.0 up to 1.18.4
- nodebb (npm): from 1.15.0 before 1.18.5

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/> (exploit, third-party-advisory)
- <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://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

- CVE List: [CVE-2021-43786](https://www.cve.org/CVERecord?id=CVE-2021-43786), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-hf2m-j98r-4fqw](https://github.com/advisories/GHSA-hf2m-j98r-4fqw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-43786](https://nvd.nist.gov/vuln/detail/CVE-2021-43786), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43786 · Whole record: https://cve.day/CVE-2021-43786.json · Rebuilt by cve.day 2026-11-25T22:24:36.116Z
