Under certain configurations of --tlsCAFile and tls.CAFile, MongoDB Server may skip peer certificate validation which may result in untrusted connections to succeed
Affects mongodbSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 24 Nov 2026, 19:24 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 20.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in– |
Ubuntu Pro 14.04 LTSmongodbpkg:deb/ubuntu/mongodb?arch=source&distro=esm-infra-legacy/trustyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-1351 (opens in a new tab)
- jira.mongodb.org/browse/SERVER-72839 (opens in a new tab)
- mongodb.com/docs/v5.0/release-notes/5.0/ (opens in a new tab)
- mongodb.com/docs/v6.0/release-notes/6.0/ (opens in a new tab)
- mongodb.com/docs/manual/release-notes/7.0/ (opens in a new tab)
- mongodb.com/docs/manual/release-notes/4.4/ (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-1351 (opens in a new tab)