CVE-2024-6376: MongoDB Compass

Critical severity, CVSS 9.8. EPSS: 0.5% chance of exploitation in the next 30 days.

MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the usage of ejson shell parser in Compass' connection handling. This issue affects MongoDB Compass versions prior to version 1.42.2

Affected products

  • MongoDB Compass: before 1.42.2 (fixed in 1.42.2)

Published 2024-07-01. Last modified 2026-06-17.