2.3low
Improper Certificate Validation May Allow Successful TLS Handshaking Despite Invalid Extended Key Usage Fields in MongoDB Server
- Severity
- 2.3low CVSS:4.0 by mongodb
- Exploit likelihood
- 0.10% (higher than 0% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mongodb
- Also known as
- BIT-MONGODB-2025-12893
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MongoDB Inc. MongoDB Server | from 7.0 before 7.0.26, from 8.0 before 8.0.16, from 8.2 before 8.2.2 | CVE List |
| mongodb mongodb | from 7.0.0 before 7.0.26, from 8.0.0 before 8.0.16, from 8.2.0 before 8.2.2 | NVD |
| mongodb (Bitnami) | from 7.0.0 before 7.0.26, from 8.0.0 before 8.0.16, from 8.2.0 before 8.2.2 | Bitnami Vulnerability Database |
All scores
| mongodb | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| mongodb | 2.3low CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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
NVD (es)
Los clientes pueden realizar con éxito un handshake TLS con un servidor MongoDB a pesar de presentar un certificado de cliente que no se alinea con los requisitos documentados de Uso Extendido de Clave (EKU). Un certificado que especifica extendedKeyUsage pero al que le falta extendedKeyUsage = clientAuth aún puede ser autenticado con éxito a través del handshake TLS como un cliente. Este problema es específico de los servidores MongoDB que se ejecutan en Windows o Apple, ya que el comportamiento de validación esperado funciona correctamente en sistemas Linux. Además, los servidores MongoDB pueden establecer con éxito conexiones TLS de salida TLS con servidores que presentan certificados de servidor que no se alinean con los requisitos documentados de Uso Extendido de Clave (EKU). Un certificado que especifica extendedKeyUsage pero al que le falta extendedKeyUsage = serverAuth aún puede ser autenticado con éxito a través del handshake TLS como un servidor. Este problema es específico de los servidores MongoDB que se ejecutan en Apple, ya que el comportamiento de validación esperado funciona correctamente tanto en sistemas Linux como Windows. Esta vulnerabilidad afecta a Versiones anteriores a 7.0.26 de MongoDB Server v7.0, Versiones anteriores a 8.0.16 de MongoDB Server v8.0 y Versiones anteriores a 8.2.2 de MongoDB Server v8.2.
References
| https://jira.mongodb.org/browse/SERVER-105783 | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-12893 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-12893 changed 2025-11-25 | CVE Terms of Use |
| NVD | CVE-2025-12893 changed 2026-10-18 | Public domain |
| Bitnami Vulnerability Database | BIT-MONGODB-2025-12893 changed 2026-09-10 | Apache-2.0 |