MongoDB Server
Certificate Validation Bypass via IPv6 trust-result skip in macOS TLS client
An issue exists in MongoDB's macOS TLS client implementation where certificate chain-of-trust validation is bypassed for outbound connections to IPv6-addressed peers. When a MongoDB process using the Apple SecureTransport TLS backend connects to an IPv6 target, the trust evaluation result from SecTrustEvaluate is silently discarded, regardless of whether the peer's certificate is trusted. An on-path party could exploit this by presenting a self-signed certificate containing the target's IPv6 address in the Subject Alternative Name to intercept and modify encrypted inter-node or external service traffic. This issue only affects MongoDB processes running on macOS with the Apple SecureTransport TLS provider.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9.0.0, < 9.0.7
- >= 8.3.0, < 8.3.16
- >= 8.0.0, < 8.0.37
- >= 7.0.0, < 7.0.48
Fixed in 9.0.7, 8.3.16, 8.0.37, 7.0.48
Mitigation
Upgrade MongoDB Server to 9.0.7 or 8.3.16 or 8.0.37 or 7.0.48 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.