5.4

CVE-2025-12893: mongodb inc mongodb server Improper Certificate Validation

CVSS: 5.4v3.1MediumAnalyzed
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.09% chance of exploitation in the next 30 days, higher than 0.5% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.09%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.09%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

0.00 pp

From 0.09% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.09%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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