CVE-2025-12893
Last modified
CVE-2025-12893 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.08% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mongodb | Mongodb | >= 7.0.0, < 7.0.26 |
| Mongodb | Mongodb | >= 8.0.0, < 8.0.16 |
| Mongodb | Mongodb | >= 8.2.0, < 8.2.2 |
References
- https://jira.mongodb.org/browse/SERVER-105783Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-12893?
How severe is CVE-2025-12893?
How do I fix CVE-2025-12893?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-12888Vulnerability in X25519 constant-time cryptographic implemen…7.5
- CVE-2025-12889With TLS 1.2 connections a client can use any digest, specif…5.4
- CVE-2025-1289The Plugin Oficial WordPress plugin through 1.7.3 does not …4.8
- CVE-2025-12890Improper handling of malformed Connection Request with the …6.5
- CVE-2025-12891The Survey Maker plugin for WordPress is vulnerable to unaut…5.3
- CVE-2025-12892The Survey Maker plugin for WordPress is vulnerable to unaut…5.3
- CVE-2025-12894The Import WP – Export and Import CSV and XML files to WordP…5.3
- CVE-2025-12895The Kalium 3 | Creative WordPress & WooCommerce Theme theme …5.3
- CVE-2025-12896Improper resource management in firmware of some Solidigm DC…4.4
- CVE-2025-12897Rejected reason: ** REJECT ** DO NOT USE THIS CANDIDATE NUMB…
- CVE-2025-12898The Pretty Google Calendar plugin for WordPress is vulnerabl…5.3
- CVE-2025-12899A flaw in Zephyr’s network stack allows an IPv4 packet conta…6.5
Are you affected by CVE-2025-12893?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
