๐Ÿ” CVE Alert

CVE-2026-126835

MEDIUM 6.5

[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-923
Vendor mongodb
Product node.js driver
Ecosystems
Industries
Technology
Published Nov 12, 2026
Stay Ahead of the Next One

Get instant alerts for mongodb node.js driver

Be the first to know when new medium vulnerabilities affecting mongodb node.js driver are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

MongoDB / Node.js Driver
>= 6.7.0 < 7.9.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/mongodb/node-mongodb-native/releases/tag/v7.9.0