{"id":"CVE-2026-8336","aliases":["CVE-2026-8336","BIT-MONGODB-2026-8336"],"related":[],"kind":"vulnerability","state":"published","title":"Post-authentication use-after-free error in $_internalJsEmit and mapreduce commands","summary":"After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service.\n\nThis issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"After invoking $_internalJsEmit, which is not intended to be directly accessible, or mapreduce command’s map function in a certain way, an authenticated user can subsequently crash mongod when the server-side JavaScript engine (through $where, $function, mapreduce reduce stage, etc.) is used also in a specific way, resulting in a post-authentication denial-of-service.\n\nThis issue impacts MongoDB Server v8.2 versions prior to 8.2.9 and v8.3 versions prior to 8.3.2.","source":"cvelist"},{"lang":"es","text":"Después de invocar $_internalJsEmit, que no está destinado a ser directamente accesible, o la función map del comando mapreduce de cierta manera, un usuario autenticado puede posteriormente colapsar mongod cuando el motor JavaScript del lado del servidor (a través de $where, $function, la etapa reduce de mapreduce, etc.) se utiliza también de una manera específica, lo que resulta en una denegación de servicio post-autenticación.\n\nEste problema afecta a las versiones v8.2 de MongoDB Server anteriores a la 8.2.9 y a las versiones v8.3 anteriores a la 8.3.2.","source":"nvd"}],"published":"2026-05-13T00:16:16.568Z","modified":"2026-10-26T18:10:00.173Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:A/V:D/RE:M/U:Red","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:A/V:D/RE:M/U:Red","score":7.7,"rating":"HIGH"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"8.2","fixed":"8.2.9","status":"affected"},{"type":"custom","introduced":"8.3","fixed":"8.3.2","status":"affected"}],"vendor":"MongoDB, Inc.","product":"MongoDB Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.2.0","fixed":"8.2.9"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.2"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.9"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.2"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-121610","tags":["advisory","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8336","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-13T14:35:06.130Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-8336","url":"https://www.cve.org/CVERecord?id=CVE-2026-8336","licence":"CVE Terms of Use","modified":"2026-05-15T16:16:00.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-8336","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-8336","licence":"Public domain","modified":"2026-10-26T18:10:00.173Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2026-8336","url":"https://osv.dev/vulnerability/BIT-MONGODB-2026-8336","licence":"Apache-2.0","modified":"2026-09-08T08:48:14.508Z"}],"updatedAt":"2026-11-25T22:59:21.523Z","epss":{"score":0.00255,"percentile":0.18284,"date":"2026-12-01T12:00:22.000Z"}}