CVE-2024-1351 in Mongodb and 2 more products
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate valid...
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Mongodb | Mongodb | ≥ 4.4.0, < 4.4.29 ≥ 5.0.0, < 5.0.25 ≥ 6.0.0, < 6.0.14 ≥ 7.0.0, < 7.0.6 |
| Netapp | Ontap Tools | 10 |
| Netapp | Astra Control Center | No version listed by the source |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed. This may effectively reduce the security guarantees provided by TLS and open connections that should have been closed due to failing certificate validation. This issue affects MongoDB Server v7.0 versions prior to and including 7.0.5, MongoDB Server v6.0 versions prior to and including 6.0.13, MongoDB Server v5.0 versions prior to and including 5.0.24 and MongoDB Server v4.4 versions prior to and including 4.4.28. Required Configuration : A server process will allow incoming connections to skip peer certificate validation if the server process was started with TLS enabled (net.tls.mode set to allowTLS, preferTLS, or requireTLS) and without a net.tls.CAFile configured.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-1351 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-185646-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-03-07 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-295: CWE-295
Related attack patterns (CAPEC)
CAPEC-459 Creating a Rogue Certification Authority Certificate via CWE-295
CAPEC-475 Signature Spoofing by Improper Validation via CWE-295
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
MongoDB Server versions v7.0 prior to and including 7.0.5 may skip peer certificate validation under certain configurations of --tlsCAFile and tls.CAFile, leading to potential untrusted connections.
An attacker could exploit this vulnerability to establish a man-in-the-middle attack, intercepting and potentially altering data transmitted between the MongoDB server and its clients.
Questions
What is CVE-2024-1351?
MongoDB Server versions v7.0 prior to and including 7.0.5 may skip peer certificate validation under certain configurations of --tlsCAFile and tls.CAFile, leading to potential untrusted connections.
What is the CVSS score for CVE-2024-1351?
CVE-2024-1351 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.
Is CVE-2024-1351 actively exploited?
No confirmed active exploitation of CVE-2024-1351 as of 2026-09-25.
How do I remediate CVE-2024-1351?
Priority: IMMEDIATE. Advisory: https://jira.mongodb.org/browse/SERVER-72839 PSIRT: [email protected]
What systems are affected by CVE-2024-1351?
CVE-2024-1351 affects Mongodb Mongodb; Netapp Ontap Tools, Astra Control Center.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Mongodb","product":"Mongodb","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.