CVE-2026-126837
Last modified
CVE-2026-126837 is a high-severity vulnerability rated 7.4/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | Node.js Driver | >= 3.3.3, < 7.8.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-126837?
How severe is CVE-2026-126837?
How do I fix CVE-2026-126837?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-126818A Ruby object-document mapper does not apply its automatic f…6.5
- CVE-2026-12682Improper neutralization of input during web page generation …5.4
- CVE-2026-126823A local user with an ordinary account on the same host can p…7
- CVE-2026-12683Improper neutralization of input during web page generation …5.4
- CVE-2026-126831A flaw was found in cpio. A local user can cause a Denial of…5.5
- CVE-2026-126835The MongoDB Node.js driver does not consistently enforce its…6.5
- CVE-2026-126838A MongoDB Rust Driver component that holds client-side field…5.5
- CVE-2026-126839A deserialization type-restriction control in the BSON seria…4.2
- CVE-2026-12684The Customer Reviews for WooCommerce WordPress plugin before…6.5
- CVE-2026-126840Out of bounds write in Network in Google Chrome prior to 157…8.8
- CVE-2026-126841Out of bounds read in Skia in Google Chrome prior to 157.0.8…3.1
- CVE-2026-126842Use after free in ANGLE in Google Chrome prior to 157.0.8103…9.6
Are you affected by CVE-2026-126837?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
