{"id":"CVE-2022-46164","published":"2022-12-05T20:52:19Z","modified":"2025-04-23T16:32:39Z","title":"Account takeover via prototype vulnerability","vendor":"NodeBB","product":"NodeBB","tier":"tail","description":{"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.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.47366,"percentile":0.98869,"provenance":"source"},"cwes":[{"id":"CWE-665","name":"Improper Initialization"}],"references":[{"url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-rf3g-v8p5-p675","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","tags":["x_refsource_MISC"]}],"priority":{"score":31.4,"factors":[{"name":"EPSS percentile","points":19.77},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.58}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2023-01-04","earliestUrl":"https://github.com/stephenbradshaw/CVE-2022-46164-poc","repos":[{"name":"stephenbradshaw/CVE-2022-46164-poc","url":"https://github.com/stephenbradshaw/CVE-2022-46164-poc","stars":12,"created":"2023-01-04"}]},"first":{"date":"2023-01-04","source":"PoC-in-GitHub","url":"https://github.com/stephenbradshaw/CVE-2022-46164-poc"},"provenance":"source"},"vendorSlug":"nodebb","affectedVersions":[{"vendor":"NodeBB","product":"NodeBB","versions":["< 2.6.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-04-23T15:48:00.216074Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"nodebb","vulnerableRanges":["<2.6.1"],"patched":["2.6.1"],"from":["GHSA-rf3g-v8p5-p675"],"provenance":"source"}],"summary":{"text":"NodeBB, an open source Node.js forum software, contains a flaw in its socket.io message handling, where a plain object with a prototype is used in a way that can be abused. An attacker who can send a specially crafted payload over the network, without needing credentials or any user interaction, can impersonate other users and take over their accounts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:30:53Z"},"euvd":{"id":"EUVD-2022-7733","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodebb-cve-2022-46164","children":[{"from":"CVE-2022-46164","to":"CVE-2023-2850","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/socket.io/index.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","https://github.com/NodeBB/NodeBB/commit/51096ad2345fb1d1380bec0a447113489ef6c359","https://github.com/NodeBB/NodeBB/commit/62e162cf1e735e42462be1db9b4954b5a69accdf"],"basis":"rarely changed file"}]},{"from":"CVE-2022-46164","to":"CVE-2023-30591","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/socket.io/index.js"],"commits":["https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","https://github.com/NodeBB/NodeBB/commit/37b48b82a4bc7680c6e4c42647209010cb239c2c","https://github.com/NodeBB/NodeBB/commit/830f142b7aea2e597294a84d52c05aab3a3539ca"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-43788","published":"2021-11-29","fixed":"1.18.5","kev":false},{"cve":"CVE-2022-36045","published":"2022-08-31","fixed":"2.0.1","kev":false},{"cve":"CVE-2022-3978","published":"2022-11-13","fixed":"2.5.8","kev":false,"link":{"from":"CVE-2022-3978","to":"CVE-2022-46164","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"2.5.8","toFixed":"2.6.1","daysApart":22}]}},{"cve":"CVE-2022-46164","published":"2022-12-05","fixed":"2.6.1","kev":false},{"cve":"CVE-2023-26045","published":"2023-07-24","fixed":"2.8.7","kev":false,"link":{"from":"CVE-2022-46164","to":"CVE-2023-26045","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nodebb","fromFixed":"2.6.1","toFixed":"2.8.7","daysApart":231}]}},{"cve":"CVE-2023-2850","published":"2023-07-25","fixed":"3.1.3","kev":false},{"cve":"CVE-2024-29316","published":"2024-03-28","fixed":"3.6.7","kev":false}],"package":"npm:nodebb"}}