Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-6376: MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the

35
Routine
HIGH 7.0UPGRADE

CVE-2024-6376 is a high-severity flaw (CVSS 7.0) affecting compass. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.0 (High)
Attack vectorLocal
Attack complexityHigh
Privileges neededNone
User interactionRequired
EPSS exploit chance0.5% (top 59%)
CISA exploited listNo
WeaknessCWE-20, CWE-94
Published2024-07-01
Last modified2026-06-17
Publisher (CNA): MongoDB, Inc. · Vendor: mongodb

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mongodb compass UPGRADE
Affected: < 1.42.2
Fixed in: 1.42.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy compass || rpm -q compass || compass --version
2. UPGRADE to 1.42.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade compass
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade compass
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-6376?

compass: upgrade to 1.42.2. Exact commands for each OS are on this page.

Is CVE-2024-6376 being exploited?

CVE-2024-6376 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-6376 affect?

CVE-2024-6376 affects compass. Severity is high (CVSS 7.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

How urgent is CVE-2024-6376?

Priority 35/100. High severity

Software pages

MongoDB vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.