MEDIUM · CVSS 4.2 Published: 2025-11-25

CVE-2025-12893 — Technical Security Advisory & CVSS Profile

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

Technical Metadata

IdentifierCVE-2025-12893
Base Severity / ScoreMEDIUM (4.2 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness ClassificationCWE-295
Archive CategoriesMEDIUM Advisories · 2025 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2025-1289 MEDIUM 4.8
CVE-2025-1290 HIGH 8.1
CVE-2025-12889 MEDIUM 5.4
CVE-2025-12905 MEDIUM 5.4
CVE-2025-12906 MEDIUM 5.4
CVE-2025-12908 MEDIUM 5.4
CVE-2025-12909 MEDIUM 5.3