OpenID Connect Authentication Flaw in MongoDB Node.js Driver
CVE-2026-126835

5.9MEDIUM

Key Information:

Vendor

Mongodb

Vendor
CVE Published:
12 November 2026

What is CVE-2026-126835?

The MongoDB Node.js driver has a security flaw where it inadequately applies its permitted-host restrictions during OpenID Connect (OIDC) authentication. This can lead to scenarios where a bearer token, generated through an application’s own login callback, is sent to an unintended host outside the predetermined set of allowed addresses. This oversight may cause the accidental exposure of sensitive credentials, as there are no database account prerequisites; the risk arises when an external party can influence the connection configurations passed to the driver.

Affected Version(s)

Node.js Driver >= 6.7.0 < 7.9.0

References

CVSS V4

Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.