CVE-2024-1351: MongoDB Server may allow successful untrusted connection
Vulnerability summary
CVE-2024-1351 is a critical (CVSS 9.8) Improper Certificate Validation vulnerability in mongodb inc mongodb server. EPSS estimates a 0.50% chance of exploitation in the next 30 days, higher than 44.4% of scored vulnerabilities.
Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 07-03-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.50%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.50% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Netapp2 products
Mongodb1 product
- 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
Mongodb inc1 product
- mongodb server≥ 7.0, ≤ 7.0.5 | ≥ 6.0, ≤ 6.0.13 | ≥ 5.0, ≤ 5.0.24 | ≥ 4.4, ≤ 4.4.28
Ubuntu1 product
- mongodbAll versions (No fix recorded)
4 vendors · 5 products
References
8 links- security.netapp.com/advisory/ntap-20240524-0010/Third Party Advisory