CVE-2025-12893
CVE-2025-12893 is a medium-severity vulnerability in Mongodb with a CVSS 3.x base score of 4.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-295.
Key facts
- Severity: Medium (CVSS 3.x base score 4.2)
- CVSS v4: 2.3
- EPSS exploit prediction: 0% (1st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-199532
- Weakness: CWE-295
- Affected product: Mongodb
- Published:
- Last modified:
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
Frequently asked questions
- What is CVE-2025-12893?
- 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
- How severe is CVE-2025-12893?
- CVE-2025-12893 has a CVSS 3.x base score of 4.2, rated medium severity. It is exploitable over network with high attack complexity, requires low privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2025-12893 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (1st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-12893?
- CVE-2025-12893 affects Mongodb. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-12893?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2025-12893 have an EU (EUVD) identifier?
- Yes. CVE-2025-12893 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-199532.
- When was CVE-2025-12893 published?
- CVE-2025-12893 was published on 2025-11-25 and last updated on 2026-10-18.
References
Affected products (1)
- cpe:2.3:a:mongodb:mongodb:*:*:*:*:-:*:*:*
More vulnerabilities in Mongodb
- CVE-2017-15535 — Critical (CVSS 9.1): MongoDB 3.4.x before 3.4.10, and 3.5.x-development, has a disabled-by-default configuration setting,…
- CVE-2026-118383 — Critical (CVSS 9.0): A use-after-free in the replication component of MongoDB Server can occur when a newly elected replica set primary…
- CVE-2026-18692 — High (CVSS 8.8): An issue in MongoDB Server's handling of timeseries bucket lifecycle could allow an authenticated user with write…
- CVE-2026-18691 — High (CVSS 8.8): An issue in MongoDB Server's intra-cluster connection setup could allow a party with suitable network access to…
- CVE-2026-11933 — High (CVSS 8.8): A use-after-free vulnerability exists in MongoDB Server's server-side JavaScript engine when converting BSON documents…
- CVE-2026-8053 — High (CVSS 8.8): An issue in MongoDB Server's time-series collection implementation allows an authenticated user with database write…
Other CWE-295 (Improper Certificate Validation) vulnerabilities
- CVE-2026-75521 — Critical (CVSS 10.0): Miren Runtime provides the runtime component for the Miren application platform. Prior to 0.11.1, the QUIC/HTTP3 RPC…
- CVE-2026-112816 — Critical (CVSS 10.0): Improper certificate validation in the HTTPS listener in Canonical LXD 4.0.14, 5.0.10, 5.21.8, 6.9 before 4.0.15,…
- CVE-2026-111815 — Critical (CVSS 10.0): Apache Traffic Server can resume a TLS session across SNI virtual hosts without re-verifying a client certificate…
- CVE-2026-111814 — Critical (CVSS 10.0): Apache Traffic Server's default outbound session-sharing policy can reuse a pooled TLS session authenticated with one…
- CVE-2026-96207 — Critical (CVSS 10.0): Improper certificate validation in Microsoft Partner Center allows an unauthorized attacker to elevate privileges over…
- CVE-2026-58162 — Critical (CVSS 10.0): The Apache Traffic Server certifier plugin generates certificates based on attacker-controlled client SNI. This…
Browse all CWE-295 (Improper Certificate Validation) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 1.234.27.159 (ipv4-addr)
- 70.81.127.119 (ipv4-addr)
- 138.197.85.193 (ipv4-addr)
- 54.37.10.124 (ipv4-addr)
- 62.84.182.79 (ipv4-addr)
- 98.70.52.248 (ipv4-addr)
- 167.71.60.5 (ipv4-addr)
- 178.156.153.167 (ipv4-addr)