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

State
Published
Severity
5.9 Medium
Published
Nov 12, 2026
Updated
Nov 13, 2026
Reserved
Nov 11, 2026

Read the record on cve.org

Description

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.

ProductVersions
Node.js Driver MongoDB>= 6.7.0 to before 7.9.0 Affected

Weaknesses

  • CWE-923 Improper Restriction of Communication Channel to Intended Endpoints

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.