{"id":"CVE-2026-13078","aliases":["CVE-2026-13078","BIT-MONGODB-2026-13078"],"related":[],"kind":"vulnerability","state":"published","title":"Local File Disclosure in MongoDB Server via MozJS Scripting Engine Module Loader","summary":"A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability was discovered in MongoDB Server where the server-side MozJS scripting engine unconditionally registered a module loading hook that enables JavaScript calls to read arbitrary files from the host filesystem using the mongod process's privileges. An authenticated user could exploit this through crafted aggregation pipeline commands to read sensitive files accessible to the MongoDB server process.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad fue descubierta en el servidor de MongoDB donde el motor de scripting MozJS del lado del servidor registró incondicionalmente un ’hook’ de carga de módulos que permite a las llamadas JavaScript leer archivos arbitrarios del sistema de archivos del host utilizando los privilegios del proceso mongod. Un usuario autenticado podría exploit esto a través de comandos de ’pipeline’ de agregación manipulados para leer archivos sensibles accesibles al proceso del servidor de MongoDB.","source":"nvd"}],"published":"2026-07-22T19:11:20.916Z","modified":"2026-10-24T13:10:00.147Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N","score":7.7,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"7.0","fixed":"7.0.39","status":"affected"},{"type":"semver","introduced":"8.0","fixed":"8.0.28","status":"affected"},{"type":"semver","introduced":"8.2.0","fixed":"8.2.12","status":"affected"},{"type":"semver","introduced":"8.3.0","fixed":"8.3.7","status":"affected"}],"vendor":"MongoDB","product":"MongoDB Server","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.39"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.28"},{"status":"affected","introduced":"8.2.0","fixed":"8.2.12"},{"status":"affected","introduced":"8.3.0","fixed":"8.3.7"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.39"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.28"},{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.12"},{"type":"semver","introduced":"8.3.0","status":"affected","fixed":"8.3.7"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-128832","tags":["advisory","patch","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13078","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-23T14:18:38.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-13078","url":"https://www.cve.org/CVERecord?id=CVE-2026-13078","licence":"CVE Terms of Use","modified":"2026-07-23T14:18:44.825Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-13078","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-13078","licence":"Public domain","modified":"2026-10-24T13:10:00.147Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2026-13078","url":"https://osv.dev/vulnerability/BIT-MONGODB-2026-13078","licence":"Apache-2.0","modified":"2026-09-10T16:01:43.320Z"}],"updatedAt":"2026-11-25T22:59:29.850Z","epss":{"score":0.00256,"percentile":0.18364,"date":"2026-12-01T12:00:22.000Z"}}