NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-6376: ejson shell parser in MongoDB Compass maybe bypassed

highCVSS 3.1 7.0GHSA-jxr4-4prv-mh83

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.

Published Jul 1, 2024 · Updated Feb 27, 2025

Affected packages

@mongodb-js/connection-form

Ecosystem
npm
Affected
< 1.20.1
Fixed in
1.20.1
Check
npm ls @mongodb-js/connection-form

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology