{"id":"CVE-2021-43786","aliases":["GHSA-hf2m-j98r-4fqw"],"url":"https://o3.security/vulnerability/CVE-2021-43786","summary":"API token verification can be bypassed in NodeBB ","details":"### Impact\nIncorrect logic present in the token verification step unintentionally allowed master token access to the API.\n\n### Patches\nThe vulnerability has been patch as of v1.18.5.\n\n### Workarounds\nCherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@nodebb.org](mailto:security@nodebb.org)\n","published":"2021-11-29T20:15:08.133Z","modified":"2026-07-09T12:20:33.685669Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"nodebb","fixedVersion":"1.18.5"}],"fix":{"url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","label":"NodeBB/NodeBB@04dab1d"},"references":[{"type":"ADVISORY","url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"},{"type":"ADVISORY","url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw"},{"type":"FIX","url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500"},{"type":"EVIDENCE","url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43786"},{"type":"WEB","url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot"},{"type":"PACKAGE","url":"https://github.com/NodeBB/NodeBB"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-09T12:20:33.685669Z"}}