{"id":"CVE-2021-43788","aliases":["CVE-2021-43788","GHSA-pfj7-2qfw-vwgm"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal in translator module of NobeBB","summary":"Nodebb is an open source Node.js based forum software. Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected `languages/` directory. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nodebb is an open source Node.js based forum software. Prior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected `languages/` directory. The vulnerability has been patched as of v1.18.5. Users are advised to upgrade as soon as possible.","source":"cvelist"},{"lang":"en","text":"### Impact\nPrior to v1.18.5, a path traversal vulnerability was present that allowed users to access JSON files outside of the expected `languages/` directory.\n\n### Patches\nThe vulnerability has been patched as of v1.18.5.\n\n### Workarounds\nCherry-pick commit hash `c8b2fc46dc698db687379106b3f01c71b80f495f` 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)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Nodebb es un software de foro de código abierto basado en Node.js. En versiones anteriores a v1.18.5, se presentaba una vulnerabilidad de salto de ruta que permitía a usuarios acceder a archivos JSON fuera del directorio esperado \"languages/\". La vulnerabilidad ha sido parcheada a partir de la versión v1.18.5. Se aconseja a usuarios que actualicen lo antes posible","source":"nvd"}],"published":"2021-11-29T19:35:12.000Z","modified":"2026-07-08T06:28:55.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":">= 1.0.4, < 1.18.5","status":"affected"}],"vendor":"NodeBB","product":"NodeBB","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.4","status":"affected","fixed":"1.18.5"}],"ecosystem":"npm","package":"nodebb","purl":"pkg:npm/nodebb","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.4","lastAffected":"1.18.4"}],"vendor":"nodebb","product":"nodebb","cpe":"cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v1.18.5","tags":["release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-pfj7-2qfw-vwgm","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NodeBB/NodeBB/commit/c8b2fc46dc698db687379106b3f01c71b80f495f","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot/","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43788","tags":["advisory"],"sources":["ghsa"]},{"url":"https://blog.sonarsource.com/nodebb-remote-code-execution-with-one-shot","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-43788","url":"https://www.cve.org/CVERecord?id=CVE-2021-43788","licence":"CVE Terms of Use","modified":"2024-08-04T04:03:08.978Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pfj7-2qfw-vwgm","url":"https://github.com/advisories/GHSA-pfj7-2qfw-vwgm","licence":"CC-BY-4.0","modified":"2026-07-08T06:28:55.197Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-43788","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43788","licence":"Public domain","modified":"2026-06-17T04:11:26.480Z"}],"updatedAt":"2026-11-25T22:24:36.117Z","epss":{"score":0.25843,"percentile":0.98013,"date":"2026-12-01T12:00:22.000Z"}}