# CVE-2026-96750: Shell script injection via server-supplied database name in Open MongoDB shell

- Severity: High 7.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-09-24T15:51:13.247Z
- Modified: 2026-09-25T04:17:50.150Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Compass: from 1.44.0 before 1.49.12

## Every score

- mongodb: CVSS:4.0 7.3 High `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`
- mongodb: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/mongodb-js/compass/releases/tag/v1.49.12>

## Sources

- CVE List: [CVE-2026-96750](https://www.cve.org/CVERecord?id=CVE-2026-96750), CVE Terms of Use, modified 2026-09-25
- NVD: [CVE-2026-96750](https://nvd.nist.gov/vuln/detail/CVE-2026-96750), Public domain, modified 2026-09-25

---

Page: https://cve.day/CVE-2026-96750 · Whole record: https://cve.day/CVE-2026-96750.json · Rebuilt by cve.day 2026-11-25T22:59:40.808Z
