Improper Certificate Validation in MongoDB - CVE-2024-1351

 

Improper Certificate Validation in MongoDB - CVE-2024-1351

Published: October 7, 2025


Vulnerability identifier: #VU116642
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2024-1351
CWE-ID: CWE-295
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vendor: MongoDB, Inc.
Affected software:
MongoDB

Detailed vulnerability description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to under certain configurations of --tlsCAFile and tls.CAFile the server may skip peer certificate validation. A remote attacker can perform MitM attack and compromise communication between MongoDB server and client. 


How to mitigate CVE-2024-1351

Install updates from vendor's website.

Sources