Skip to main content
VulnerabilityPublished

CVE-2026-96750: MongoDB Compass · Code Injection

Affects MongoDB CompassSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.3 High : upgrade to 1.49.12 soon.

Data as of 7 Nov 2026, 23:24 UTC

CVSS 4.0 base score
7.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.49.12
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 8 Nov 2026.

What to do

Upgrade Compass and mongodb-js/compass to 1.49.12.

Affected software

ProductAffectedFixed in
MongoDBCompassAffected
  • >=1.44.0 <1.49.12
Fixed in
  • 1.49.12
GitHubmongodb-js/compasspkg:github/mongodb-js/compassOther threatsAffected
  • >=1.44.0 <1.49.12
Fixed in
  • 1.49.12

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid opening the embedded shell for databases created by untrusted users or restrict database creation privileges on the server.

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.

References

Community reviews

Loading reviews…