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

- Severity: High 8.8 (CVSS:3.1, scored by mongodb) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2024-03-07T16:10:19.597Z
- Modified: 2026-09-08T08:48:14.014Z
- Also known as: BIT-MONGODB-2024-1351
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mongodb

## 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.

(As written by CVE List.)

## Affected

- MongoDB Inc MongoDB Server: from 7.0 up to 7.0.5; from 6.0 up to 6.0.13; from 5.0 up to 5.0.24; from 4.4 up to 4.4.28
- mongodb mongodb: from 7.0 up to 7.0.5; from 6.0 up to 6.0.13; from 5.0 up to 5.0.24; from 4.4 up to 4.4.28; from 4.4.0 before 4.4.29; from 5.0.0 before 5.0.25; from 6.0.0 before 6.0.14; from 7.0.0 before 7.0.6
- netapp astra_control_center: no versions given
- netapp ontap_tools: 10
- mongodb (Bitnami): from 4.4.0 before 5.0.26; from 6.0.0 before 6.0.14; from 7.0.0 before 7.0.7

## Every score

- mongodb: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://jira.mongodb.org/browse/SERVER-72839> (advisory, issue-tracking, patch, vendor-advisory)
- <https://www.mongodb.com/docs/v5.0/release-notes/5.0/#5.0.25---february-28--2024> (article, release-notes)
- <https://www.mongodb.com/docs/v6.0/release-notes/6.0/#6.0.14---feb-28--2024> (article, release-notes)
- <https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024> (article, release-notes)
- <https://www.mongodb.com/docs/manual/release-notes/4.4/#4.4.29---february-28--2024> (broken-link, release-notes, web)
- <https://security.netapp.com/advisory/ntap-20240524-0010/> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-1351> (web)

## Sources

- CVE List: [CVE-2024-1351](https://www.cve.org/CVERecord?id=CVE-2024-1351), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2024-1351](https://nvd.nist.gov/vuln/detail/CVE-2024-1351), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MONGODB-2024-1351](https://osv.dev/vulnerability/BIT-MONGODB-2024-1351), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-1351 · Whole record: https://cve.day/CVE-2024-1351.json · Rebuilt by cve.day 2026-11-25T22:58:37.328Z
