CVE Catalog

CVE-2025-12893

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.09%

1th percentile - higher than 1% of all known CVEs

Summary

Clients may successfully perform a TLS handshake with a MongoDB server despite presenting a client certificate not aligning with the documented Extended Key Usage (EKU) requirements. A certificate that specifies extendedKeyUsage but is missing extendedKeyUsage = clientAuth may still be successfully authenticated via the TLS handshake as a client. This issue is specific to MongoDB servers running on Windows or Apple. Additionally, MongoDB servers may successfully establish egress TLS connections with servers that present server certificates not aligning with the documented EKU requirements. A certificate that specifies extendedKeyUsage but is missing extendedKeyUsage = serverAuth may still be successfully authenticated via the TLS handshake as a server. This issue is specific to MongoDB servers running on Apple. This vulnerability affects MongoDB Server v7.0 versions prior to 7.0.26, v8.0 versions prior to 8.0.16 and v8.2 versions prior to 8.2.2.

Risk Assessment

Improper certificate authentication could allow unauthorized clients to access the MongoDB server or allow MongoDB servers to connect to unauthorized servers, compromising communication security.

Recommendation

Update MongoDB Server to version 7.0.26, 8.0.16, 8.2.2 or later to ensure proper EKU validation.

Other vulnerabilities in MongoDB Server

See all
Original NVD description (English source)

Clients may successfully perform a TLS handshake with a MongoDB server despite presenting a client certificate not aligning with the documented Extended Key Usage (EKU) requirements. A certificate that specifies extendedKeyUsage but is missing extendedKeyUsage = clientAuth may still be successfully authenticated via the TLS handshake as a client. This issue is specific to MongoDB servers running on Windows or Apple as the expected validation behavior functions correctly on Linux systems. Additionally, MongoDB servers may successfully establish egress TLS connections with servers that present server certificates not aligning with the documented Extended Key Usage (EKU) requirements. A certificate that specifies extendedKeyUsage but is missing extendedKeyUsage = serverAuth may still be successfully authenticated via the TLS handshake as a server. This issue is specific to MongoDB servers running on Apple as the expected validation behavior functions correctly on both Linux and Windows systems. This vulnerability affects MongoDB Server v7.0 versions prior to 7.0.26, MongoDB Server v8.0 versions prior to 8.0.16 and MongoDB Server v8.2 versions prior to 8.2.2

Vulnerability data from NVD (NIST) · CISA KEV · EPSS