# CVE-2025-12893: Improper Certificate Validation May Allow Successful TLS Handshaking Despite Invalid Extended Key Usage Fields in MongoDB Server

- Severity: Low 2.3 (CVSS:4.0, scored by mongodb) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-12-01)
- Published: 2025-11-25T05:07:17.878Z
- Modified: 2026-10-18T20:10:00.110Z
- Also known as: BIT-MONGODB-2025-12893
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mongodb

## 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

(As written by CVE List.)

## Affected

- 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
- 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
- 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

## Every score

- mongodb: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- mongodb: CVSS:4.0 2.3 Low `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://jira.mongodb.org/browse/SERVER-105783> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-12893> (web)

## Sources

- CVE List: [CVE-2025-12893](https://www.cve.org/CVERecord?id=CVE-2025-12893), CVE Terms of Use, modified 2025-11-25
- NVD: [CVE-2025-12893](https://nvd.nist.gov/vuln/detail/CVE-2025-12893), Public domain, modified 2026-10-18
- Bitnami Vulnerability Database: [BIT-MONGODB-2025-12893](https://osv.dev/vulnerability/BIT-MONGODB-2025-12893), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2025-12893 · Whole record: https://cve.day/CVE-2025-12893.json · Rebuilt by cve.day 2026-11-25T22:59:07.984Z
