Validation Flaw in MongoDB Node.js Driver Allows Unauthorized Host Connections
CVE-2026-126837

9.1CRITICAL

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
12 November 2026

What is CVE-2026-126837?

A validation flaw in the MongoDB Node.js driver allows an unauthenticated attacker to exploit DNS SRV responses, potentially connecting to unintended hosts and leading to unauthorized access to sensitive application data. When using a mongodb+srv:// connection string, the driver verifies the DNS SRV response against the expected domain, but the flaw allows an attacker to craft responses that cause the driver to connect to malicious hosts. This issue compromises data confidentiality and integrity, as TLS does not mitigate the risk, allowing attackers to manipulate connections and gain access to application credentials and data.

Affected Version(s)

Node.js Driver 3.3.3 < 7.8.0

References

CVSS V4

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.