# CVE-2024-1351: MongoDB Server may allow successful untrusted connection

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-07 · Modified: 2025-02-13
- Aliases: UBUNTU-CVE-2024-1351
- Record: https://cvemate.com/vulnerability/CVE-2024-1351 · JSON: https://cvemate.com/vulnerability/CVE-2024-1351/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.5%, percentile 44.411%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu mongodb (Ubuntu): All versions (No fix recorded)
- mongodb inc mongodb server: ≥ 7.0, ≤ 7.0.5 \| ≥ 6.0, ≤ 6.0.13 \| ≥ 5.0, ≤ 5.0.24 \| ≥ 4.4, ≤ 4.4.28
- 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 astra\_control\_center: na
- netapp ontap\_tools: 10

## References

- <https://jira.mongodb.org/browse/SERVER-72839>
- <https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024>
- <https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024>
- <https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024>
- <https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024>
- <https://security.netapp.com/advisory/ntap-20240524-0010/>
- <https://ubuntu.com/security/CVE-2024-1351>
- <https://www.cve.org/CVERecord?id=CVE-2024-1351>

---

Data as of 2026-12-05T13:42:43.314Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
