CVE-2024-3371: MongoDB Compass may accept and use insufficiently validated input from an untrusted external source
CVE-2024-3371 is a high-severity flaw (CVSS 7.1) affecting compass. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, including data disclosure and enabling attackers to impersonate users. This issue affects MongoDB Compass versions 1.35.0 to 1.42.0.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 86%) |
| CISA exploited list | No |
| Weakness | CWE-360 |
| Published | 2024-04-24 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
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-3371?
compass: upgrade to 1.42.1. Exact commands for each OS are on this page.
Is CVE-2024-3371 being exploited?
CVE-2024-3371 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-3371 affect?
CVE-2024-3371 affects compass. Severity is high (CVSS 7.1). MongoDB Compass may accept and use insufficiently validated input from an untrusted external source. This may cause unintended application behavior, including data disclosure and enabling attackers to impersonate users. This issue affects M
How urgent is CVE-2024-3371?
Priority 28/100. High severity
Software pages
Related CVEs
- CVE-2026-14881 HIGH 7.8 UPGRADE When importing connections in Compass it is possible to override some connection options that are otherwise ca
- CVE-2025-1755 HIGH 7.5 UPGRADE MITIGATE MongoDB Compass may be susceptible to local privilege escalation under certain conditions potentially enabling
- CVE-2024-6376 HIGH 7.0 UPGRADE MongoDB Compass may be susceptible to code injection due to insufficient sandbox protection settings with the