{"id":"CVE-2022-39396","aliases":["CVE-2022-39396","GHSA-prm5-8g2m-24gg","BIT-PARSE-2022-39396"],"related":[],"kind":"vulnerability","state":"published","title":"Parse Server vulnerable to Remote Code Execution via prototype pollution in MongoDB BSON parser","summary":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 4.10.18, and prior to 5.3.1 on the 5.X branch, are vulnerable to Remote Code Execution via prototype pollution. An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. This issue is patched in version 5.3.1 and in 4.10.18. There are no known workarounds.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Versions prior to 4.10.18, and prior to 5.3.1 on the 5.X branch, are vulnerable to Remote Code Execution via prototype pollution. An attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. This issue is patched in version 5.3.1 and in 4.10.18. There are no known workarounds.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker can use this prototype pollution sink to trigger a remote code execution through the MongoDB BSON parser. \n\n### Patches\n\nPrevent prototype pollution in MongoDB database adapter.\n\n### Workarounds\n\nDisable remote code execution through the MongoDB BSON parser.\n\n### Collaborators\n\nMikhail Shcherbakov (KTH), Cristian-Alexandru Staicu (CISPA) and Musard Balliu (KTH) working with Trend Micro Zero Day Initiative\n\n### References\n\n- https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg","format":"markdown","source":"ghsa"},{"lang":"es","text":"Parse Server es un backend de código abierto que se puede implementar en cualquier infraestructura que pueda ejecutar Node.js. Las versiones anteriores a la 4.10.18 y anteriores a la 5.3.1 en la rama 5.X son vulnerables a la ejecución remota de código a través de la contaminación de prototipos. Un atacante puede utilizar este prototipo de sumidero de contaminación para desencadenar una ejecución remota de código a través del analizador BSON de MongoDB. Este problema se solucionó en la versión 5.3.1 y 4.10.18. No se conocen workarounds.","source":"nvd"}],"published":"2022-11-08T17:29:16.000Z","modified":"2026-09-08T08:48:24.582Z","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:H","score":9.8,"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:H","score":9.8,"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:H","score":9.8,"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"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 4.10.18","status":"affected"},{"version":">= 5.0.0, < 5.3.1","status":"affected"}],"vendor":"parse-community","product":"parse-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.10.18"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.3.1"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.10.18"},{"status":"affected","introduced":"5.0.0","fixed":"5.3.1"}],"vendor":"parseplatform","product":"parse-server","cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.10.18"},{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.3.1"}],"ecosystem":"Bitnami","package":"parse","purl":"pkg:bitnami/parse","source":"bitnami"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-prm5-8g2m-24gg","tags":["advisory","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39396","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/parse-community/parse-server/pull/8295","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/parse-community/parse-server/pull/8296","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/parse-community/parse-server","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/4.10.18","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/parse-community/parse-server/releases/tag/5.3.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2025-04-23T15:48:14.422Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39396","url":"https://www.cve.org/CVERecord?id=CVE-2022-39396","licence":"CVE Terms of Use","modified":"2025-04-23T16:38:53.154Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-prm5-8g2m-24gg","url":"https://github.com/advisories/GHSA-prm5-8g2m-24gg","licence":"CC-BY-4.0","modified":"2023-12-06T01:02:33.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39396","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39396","licence":"Public domain","modified":"2026-06-17T04:58:16.703Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PARSE-2022-39396","url":"https://osv.dev/vulnerability/BIT-PARSE-2022-39396","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.582Z"}],"updatedAt":"2026-11-25T22:58:16.373Z","epss":{"score":0.40093,"percentile":0.98662,"date":"2026-12-02T12:00:21.000Z"}}