{"id":"GHSA-hf2m-j98r-4fqw","revision":"ab5f96fb94df4a00a2509c9374e309dc","records":[{"revision":"ab5f96fb94df4a00a2509c9374e309dc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-hf2m-j98r-4fqw","aliases":["CVE-2021-43786"],"title":"API token verification can be bypassed in NodeBB ","description":"### 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","state":0,"publishedAt":"2021-11-30T22:21:05+00:00","modifiedAt":"2026-07-08T06:28:56.2846622+00:00","affected":[{"ecosystem":"npm","name":"nodebb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.15.0"},{"kind":"fixed","version":"1.18.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","https://nvd.nist.gov/vuln/detail/CVE-2021-43786","https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot","https://github.com/NodeBB/NodeBB","https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"],"sourceUrl":"https://github.com/advisories/GHSA-hf2m-j98r-4fqw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-hf2m-j98r-4fqw","identifiers":["GHSA-hf2m-j98r-4fqw","CVE-2021-43786"]},"retained":false,"historicalAffected":[]}],"coverage":[]}