{"schemaVersion":3,"id":"CVE-2026-96750","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"MongoDB Compass can interpolate a database name without escaping into the initial input of its embedded MongoDB shell when a user opens the shell from that database's view. A user with privileges to create databases on a server that a Compass user connects to may, under specific conditions, have content evaluated as shell input within the Compass process, with that process's privileges. This requires the Compass user to open the shell for the affected database.","dates":{"published":"2026-09-24T15:51:13.247Z","modified":"2026-09-25T03:55:27.003Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.1,"severity":"high","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00207,"percentile":0.10177,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-09-25T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00207,"percentile":0.10177}],"last30":[{"date":"2026-09-25T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00188,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00207,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00207,"percentile":0.10177}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"mongodb","product":"compass","name":"compass","label":"compass","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.44.0, < 1.49.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.44.0, < 1.49.12","eol":null,"hubHref":"/vendor/mongodb/compass"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/mongodb-js/compass/releases/tag/v1.49.12","label":"github.com/mongodb-js/compass/releases/tag/v1.49.12","hostname":"github.com","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-09-24T15:51:13.247Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-09-25T03:55:27.003Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T04:48:45.767Z","stale":false,"partial":false}}