{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-43786","id":"CVE-2021-43786","title":"API token verification can be bypassed","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.","descriptionLong":"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":"2021-11-29T19:30:17.000Z","updated":"2026-10-20T10:55:03.222132065Z","reserved":"2021-11-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":["NodeBB"],"affectedProducts":[{"vendor":"NodeBB","product":"NodeBB","defaultStatus":null,"versions":[{"status":"affected","version":">= 1.15.0, < 1.18.5"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"nodebb","purl":"pkg:npm/nodebb","ranges":[">=1.15.0 <1.18.5"],"fixed":["1.18.5"],"advisory":"GHSA-hf2m-j98r-4fqw"}],"cwes":["CWE-287"],"aliases":["GHSA-hf2m-j98r-4fqw"],"references":[{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43786","tags":["advisory"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot","tags":["web"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02369,"epssPercentile":0.84177,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-43786","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43786","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-43786","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hf2m-j98r-4fqw","ok":true,"note":"GHSA-hf2m-j98r-4fqw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-43786","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}