5.4

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

Analyzed
AliasesUBUNTU-CVE-2025-12893
Published 25-11-2025Last modified 25-11-2025

Vulnerability summary

CVE-2025-12893 is a medium (CVSS 5.4) Improper Certificate Validation vulnerability in mongodb inc mongodb server. EPSS estimates a 0.10% chance of exploitation in the next 30 days, higher than 0.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 25-11-2025
    PublishedVulnerability first disclosed.
  2. 25-11-2025
    Last modifiedVulnerability information updated.

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

CVSS metrics

6 scores · 3 sources · 2 versions

EPSS trend

Probability

0.10%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.10% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Mongodb1 product
  • mongodb≥ 7.0.0, < 7.0.26 | ≥ 8.0.0, < 8.0.16 | ≥ 8.2.0, < 8.2.2
Mongodb inc1 product
  • mongodb server≥ 7.0, < 7.0.26 | ≥ 8.0, < 8.0.16 | ≥ 8.2, < 8.2.2
Ubuntu1 product
  • mongodbAll versions (No fix recorded)

3 vendors · 3 products

References

3 links