{"api_version":"1","generated_at":"2026-04-23T10:19:33+00:00","cve":"CVE-2021-43786","urls":{"html":"https://cve.report/CVE-2021-43786","api":"https://cve.report/api/cve/CVE-2021-43786.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43786","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43786"},"summary":{"title":"CVE-2021-43786","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-11-29 20:15:00","updated_at":"2022-10-27 19:13:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","name":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","refsource":"MISC","tags":[],"title":"NodeBB 1.18.4 - Remote Code Execution With One Shot","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","name":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","refsource":"MISC","tags":[],"title":"Release v1.18.5 · NodeBB/NodeBB · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","name":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","refsource":"MISC","tags":[],"title":"fix: token verify · NodeBB/NodeBB@04dab1d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","name":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","refsource":"CONFIRM","tags":[],"title":"API token verification can be bypassed · Advisory · NodeBB/NodeBB · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43786","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43786","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43786","vulnerable":"1","versionEndIncluding":"1.18.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"nodebb","cpe5":"nodebb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-43786","qid":"983308","title":"Nodejs (npm) Security Update for nodebb (GHSA-hf2m-j98r-4fqw)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43786","STATE":"PUBLIC","TITLE":"API token verification can be bypassed"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"NodeBB","version":{"version_data":[{"version_value":">= 1.15.0, < 1.18.5"}]}}]},"vendor_name":"NodeBB"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-287: Improper Authentication"}]}]},"references":{"reference_data":[{"name":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","refsource":"MISC","url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5"},{"name":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw","refsource":"CONFIRM","url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-hf2m-j98r-4fqw"},{"name":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500","refsource":"MISC","url":"https://github.com/NodeBB/NodeBB/commit/04dab1d550cdebf4c1567bca9a51f8b9ca48a500"},{"refsource":"MISC","name":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/"}]},"source":{"advisory":"GHSA-hf2m-j98r-4fqw","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-11-29 20:15:00","lastModifiedDate":"2022-10-27 19:13:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*","versionStartIncluding":"1.15.0","versionEndIncluding":"1.18.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43786","Ordinal":"221371","Title":"CVE-2021-43786","CVE":"CVE-2021-43786","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43786","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}