CVE-2021-43786
JSON

9.8critical

API token verification can be bypassed

Severity
9.8critical CVSS:3.1 by GitHub_M
Exploit likelihood
2.37% (higher than 85% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hf2m-j98r-4fqw

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.

Affected

Product or packageVersionsReported by
NodeBB NodeBB>= 1.15.0, < 1.18.5, from 1.15.0 up to 1.18.4CVE List, NVD
nodebb (npm)from 1.15.0 before 1.18.5GitHub Advisory Database

All scores

GitHub_M9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

Incorrect logic present in the token verification step unintentionally allowed master token access to the API.

Patches

The vulnerability has been patch as of v1.18.5.

Workarounds

Cherry-pick commit hash 04dab1d550cdebf4c1567bca9a51f8b9ca48a500 to receive this patch in lieu of a full upgrade.

For more information

If you have any questions or comments about this advisory:

NVD (es)

Nodebb es un software de foro de código abierto basado en Node.js. En las versiones afectadas, una lógica incorrecta presente en el paso de verificación del token permitía involuntariamente el acceso del token maestro a la API. La vulnerabilidad ha sido parcheada a partir de la versión v1.18.5. Se recomienda a usuarios que actualicen lo antes posible

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43786 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-hf2m-j98r-4fqw changed 2026-07-08CC-BY-4.0
NVDCVE-2021-43786 changed 2026-06-17Public domain