Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-126835
Published:November 12, 2026
Updated:November 23, 2026
The MongoDB Node.js driver does not consistently enforce its permitted-host restriction during OIDC authentication. A bearer token produced by the embedding application's own login callback may therefore be transmitted to a host outside the configured set of permitted hosts, which may result in unintended disclosure of that credential. No database account is required; the party supplying the connection configuration needs only to influence the settings the application passes to the driver.
Affected Packages
https://github.com/mongodb/node-mongodb-native.git (GITHUB):
Affected version(s) >=v6.7.0 <v7.9.0 || >=v7.0.0 <v7.9.0
Fix Suggestion:
Update to version v7.9.0
mongodb (NPM):
Affected version(s) >=7.0.0 <7.9.0 || >=6.7.0 <7.9.0
Fix Suggestion:
Update to version 7.9.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Restriction of Communication Channel to Intended Endpoints
EPSS
Base Score:
0.25