CVE-2026-126837
MongoDB Node.js Driver
Raw 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-126837 is a critical-severity Incorrect Behavior Order: Validate Before Canonicalize (CWE-180) vulnerability in MongoDB Node.js Driver (named in MongoDB's own CVE record; NVD lists no product yet). Its CVSS base score is 9.1 (Critical).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 12th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-124552
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V1.3.8V1.1.1V12.1.3
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SA-11 requires developer testing and evaluation that can discover validation-order defects after they have been coded.
SA-8 mandates security engineering principles that include correct canonicalization-before-validation ordering for input handling.
SI-10 requires validity checks on inputs; when implemented with canonicalization preceding validation it structurally prevents the exact ordering flaw.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require correct validation order after canonicalization to prevent bypasses.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect validation-order defects before deployment.
Training that covers input validation order can keep some instances of this subtle implementation defect from arising, but the issue is a specific technical knowledge gap about canonicalization-then-validate ordering that most general awareness programmes do not reach, so only a minority of instances are prevented.
Secure coding standards explicitly require canonicalize-then-validate to eliminate CWE-180.
A.8.3 restricts access to information that exists; it does not alter the order of validation and canonicalization in code, so the weakness can still be exploited.
A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. CWE-180 does surface as CVEs in third-party products (the observed examples are all CVEs), so the disclosed share is non-zero, but the bulk of CWE-180 instances live in first-party validation/canonicalization logic that A.8.8's scanning-and-advisory programme does not read — that is A.8.29's reach. A minority of instances found, same shape as A.8.8 -> CWE-89.