{"id":"CVE-2025-6713","aliases":["CVE-2025-6713","BIT-MONGODB-2025-6713"],"related":[],"kind":"vulnerability","state":"published","title":"MongoDB Server may be susceptible to privilege escalation due to $mergeCursors stage","summary":"An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An unauthorized user may leverage a specially crafted aggregation pipeline to access data without proper authorization due to improper handling of the $mergeCursors stage in MongoDB Server. This may lead to access to data without further authorisation. This issue affects MongoDB Server MongoDB Server v8.0 versions prior to 8.0.7, MongoDB Server v7.0 versions prior to 7.0.19 and MongoDB Server v6.0 versions prior to 6.0.22","source":"cvelist"},{"lang":"es","text":"Un usuario no autorizado podría usar una canalización de agregación especialmente manipulada para acceder a los datos sin la debida autorización debido a la gestión incorrecta de la etapa $mergeCursors en MongoDB Server. Esto puede provocar el acceso a los datos sin autorización adicional. Este problema afecta a MongoDB Server v8.0 anteriores a la 8.0.7, MongoDB Server v7.0 anteriores a la 7.0.20 y MongoDB Server v6.0 anteriores a la 6.0.22.","source":"nvd"}],"published":"2025-07-07T14:46:36.201Z","modified":"2026-09-10T16:01:43.320Z","severity":{"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"},"severities":[{"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":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-285"],"affected":[{"ranges":[{"type":"custom","introduced":"6.0","fixed":"6.0.22","status":"affected"},{"type":"custom","introduced":"7.0","fixed":"7.0.19","status":"affected"},{"type":"custom","introduced":"8.0","fixed":"8.0.7","status":"affected"}],"vendor":"MongoDB Inc","product":"MongoDB Server","cpe":"cpe:2.3:a:mongodb:mongodb:6.0.0:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.0.0","fixed":"6.0.22"},{"status":"affected","introduced":"7.0.0","fixed":"7.0.19"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.7"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"6.0.0","status":"affected","fixed":"6.0.22"},{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.19"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.7"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-106752","tags":["advisory","issue-tracking","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6713","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-07T19:11:00.438Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-6713","url":"https://www.cve.org/CVERecord?id=CVE-2025-6713","licence":"CVE Terms of Use","modified":"2025-07-18T05:50:23.153Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-6713","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6713","licence":"Public domain","modified":"2026-06-17T10:02:26.130Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2025-6713","url":"https://osv.dev/vulnerability/BIT-MONGODB-2025-6713","licence":"Apache-2.0","modified":"2026-09-10T16:01:43.320Z"}],"updatedAt":"2026-11-25T22:59:00.728Z","epss":{"score":0.00468,"percentile":0.42158,"date":"2026-12-01T12:00:22.000Z"}}