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

Published Nov 12, 2026
·
Updated

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.

Event History

Nov 12, 2026
CVE Published
via MITRE·05:06 PM
Data Sourced
via MITRE·05:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using the MongoDB Node.js driver with OIDC authentication are exposed when an attacker can influence the connection configuration passed by the application and the application provides a login callback that produces a bearer token. The issue concerns transmission of that callback-produced token to a host outside the configured permitted-host set.

2

Does exploitation require database credentials or a database account?

No. No database account is required. The attacker needs to influence the connection settings supplied to the driver and induce a user interaction, as indicated by the UI:R vector.

3

What is the available fixed release?

The provided release reference identifies v7.9.0 of the MongoDB Node.js driver.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203