{"id":"CVE-2025-12893","aliases":["CVE-2025-12893","BIT-MONGODB-2025-12893"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Certificate Validation May Allow Successful TLS Handshaking Despite Invalid Extended Key Usage Fields in MongoDB Server","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 as the expected validation behavior functions correctly on Linux systems.\n\nAdditionally, 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. \n\nThis 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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\n\nAdditionally, 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. \n\nThis 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","source":"cvelist"},{"lang":"es","text":"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.\n\nAdemá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.\n\nEsta 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.","source":"nvd"}],"published":"2025-11-25T05:07:17.878Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:4.0","vector":"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","score":2.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"custom","introduced":"7.0","fixed":"7.0.26","status":"affected"},{"type":"custom","introduced":"8.0","fixed":"8.0.16","status":"affected"},{"type":"custom","introduced":"8.2","fixed":"8.2.2","status":"affected"}],"vendor":"MongoDB Inc.","product":"MongoDB Server","platforms":["MacOS","Windows"],"source":"cvelist"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.26"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.16"},{"status":"affected","introduced":"8.2.0","fixed":"8.2.2"}],"vendor":"mongodb","product":"mongodb","cpe":"cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.26"},{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.16"},{"type":"semver","introduced":"8.2.0","status":"affected","fixed":"8.2.2"}],"ecosystem":"Bitnami","package":"mongodb","purl":"pkg:bitnami/mongodb","source":"bitnami"}],"references":[{"url":"https://jira.mongodb.org/browse/SERVER-105783","tags":["advisory","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12893","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-11-25T16:43:42.497Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12893","url":"https://www.cve.org/CVERecord?id=CVE-2025-12893","licence":"CVE Terms of Use","modified":"2025-11-25T16:43:49.415Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12893","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12893","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MONGODB-2025-12893","url":"https://osv.dev/vulnerability/BIT-MONGODB-2025-12893","licence":"Apache-2.0","modified":"2026-09-10T16:01:43.231Z"}],"updatedAt":"2026-11-25T22:59:07.984Z","epss":{"score":0.00099,"percentile":0.00863,"date":"2026-12-01T12:00:22.000Z"}}