CVE-2026-126837: Vulnerability in MongoDB Node.js Driver

Critical. 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...

CWE-88, CWE-180

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
0.3 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

EU ID
EUVD-2026-124552
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-88, CWE-180
Published
12 Nov 2026
Last change
13 Nov 2026
Likelihood rank
Higher than 12 % of all rated vulnerabilities
Analysis status
Awaiting Analysis

Affected products

Affected versions and the first fixed release

  • MongoDB Node.js Driver From 3.3.3 before 7.8.0. Fixed in 7.8.0

Advisories

Vendor and security advisories

Related