{"id":"CVE-2022-46164","aliases":["GHSA-rf3g-v8p5-p675"],"url":"https://o3.security/vulnerability/CVE-2022-46164","summary":"Account takeover via prototype vulnerability","details":"### 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)\n","published":"2022-12-05T20:52:19.695Z","modified":"2026-08-12T03:51:34.254513432Z","cvss":{"score":9.4,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"npm","name":"nodebb","fixedVersion":"2.6.1"}],"fix":{"url":"https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8","label":"NodeBB/NodeBB@48d1439"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46164.json"},{"type":"ADVISORY","url":"https://github.com/NodeBB/NodeBB/security/advisories/GHSA-rf3g-v8p5-p675"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-46164"},{"type":"FIX","url":"https://github.com/NodeBB/NodeBB/commit/48d143921753914da45926cca6370a92ed0c46b8"},{"type":"PACKAGE","url":"https://github.com/NodeBB/NodeBB"},{"type":"WEB","url":"https://github.com/NodeBB/NodeBB/releases/tag/v2.6.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:34.254513432Z"}}