PoC Monitor
← All CVEs
CVE-2026-126837published 12 Nov 2026 17:00 UTCData: JSON · API

MongoDB Node.js Driver

Attacker able to redirect a client's database traffic to a host they control via special characters in an SRV target, bypassing the SRV parent-domain guard

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.

First public PoC 1.5 daysafter publication · 14 Nov 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-180
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

MongoDB Node.js Driver
  • >= 3.3.3, < 7.8.0

Fixed in 7.8.0

Mitigation

Upgrade Node.js Driver to 7.8.0 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Nov 2026 · t = 0First public PoC14 Nov 2026 · t+1.5d

First public PoC 1.5 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-126837 (created 14 Nov 2026, found by us: 14 Nov 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
googlesky/CVE-2026-126837 14 Nov 2026 +1.5 d 14 Nov 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.