StraitOfVuln
Latest / CVE-2026-126837

CVE-2026-126837

HighCVSS 7.4 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

A validation flaw in the DNS SRV host discovery of the MongoDB Node.js driver may cause the driver to connect to a host outside the expected domain. For a mongodb+srv:// connection string, the driver checks each host name in the DNS SRV response against the domain of the connection string. The driver then builds the connection address from the original name, in which certain characters end the host name early. An unauthenticated party who can forge or change the DNS SRV response may redirect the connection to a host of their choice. TLS does not prevent this, because the driver verifies the server certificate against the redirected host name. This may result in unintended disclosure of application data and authentication credentials, and in altered query results. Applications that use mongodb:// connection strings are not affected.

Details

CVE ID
CVE-2026-126837
Published / updated
12 Nov 2026, 17:17 UTC · last modified 13 Nov 2026, 19:19 UTC
Severity
HIGH
CVSS score
7.4 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N · Attack vector: Network
Affected vendor
MongoDB
Affected products
Node.js Driver
Affected versions
Node.js Driver: 3.3.3 to before 7.8.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Node.js Driver 7.8.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.24% probability of exploitation in the next 30 days · 16% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
cna@mongodb.com