{"id":"CVE-2022-46164","aliases":["CVE-2022-46164","GHSA-rf3g-v8p5-p675"],"related":[],"kind":"vulnerability","state":"published","title":"Account takeover via prototype vulnerability","summary":"NodeBB is an open source Node.js based forum software. Due to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts. This vulnerability has been patched in version 2.6.1. Users are advised to upgrade. Users unable to upgrade may cherry-pick commit `48d143921753914da45926cca6370a92ed0c46b8` into their codebase to patch the exploit.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"NodeBB is an open source Node.js based forum software. Due to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts. This vulnerability has been patched in version 2.6.1. Users are advised to upgrade. Users unable to upgrade may cherry-pick commit `48d143921753914da45926cca6370a92ed0c46b8` into their codebase to patch the exploit.","source":"cvelist"},{"lang":"en","text":"### Impact\nDue to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts.\n\n### Patches\nPatched in 2.6.1\n\n### Workarounds\nSite maintainers can cherry-pick https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8 into their codebase to patch the exploit.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\nDiscuss it on [our community forum](https://github.com/NodeBB/NodeBB/security/advisories/community.nodebb.org/)\nEmail us at [support@nodebb.org](mailto:support@nodebb.org)","format":"markdown","source":"ghsa"},{"lang":"es","text":"NodeBB es un software de foro de código abierto basado en Node.js. Debido a que se utiliza un objeto simple con un prototipo en el manejo de mensajes de socket.io, se puede usar un payload especialmente manipulado para hacerse pasar por otros usuarios y tomar control de cuentas. Esta vulnerabilidad ha sido parcheada en la versión 2.6.1. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden seleccionar el commit `48d143921753914da45926cca6370a92ed0c46b8` en su código base para parchear el exploit.","source":"nvd"}],"published":"2022-12-05T20:52:19.695Z","modified":"2026-06-17T05:11:20.473Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","score":9.4,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-665"],"affected":[{"ranges":[{"version":"< 2.6.1","status":"affected"}],"vendor":"NodeBB","product":"NodeBB","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.6.1"}],"ecosystem":"npm","package":"nodebb","purl":"pkg:npm/nodebb","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.6.1"}],"vendor":"nodebb","product":"nodebb","cpe":"cpe:2.3:a:nodebb:nodebb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-rf3g-v8p5-p675","tags":["patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46164","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/NodeBB/NodeBB/releases/tag/v2.6.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-23T15:48:00.216Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-46164","url":"https://www.cve.org/CVERecord?id=CVE-2022-46164","licence":"CVE Terms of Use","modified":"2025-04-23T16:32:39.227Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rf3g-v8p5-p675","url":"https://github.com/advisories/GHSA-rf3g-v8p5-p675","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:55.347Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-46164","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46164","licence":"Public domain","modified":"2026-06-17T05:11:20.473Z"}],"updatedAt":"2026-11-25T22:58:17.230Z","epss":{"score":0.02415,"percentile":0.84891,"date":"2026-11-30T12:00:22.000Z"}}