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.

Project Subscriptions

Vendors Products
Mongodb Subscribe
Node.js Driver Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 16 Nov 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 15 Nov 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Mongodb
Mongodb node.js Driver
Vendors & Products Mongodb
Mongodb node.js Driver

Thu, 12 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
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.
Title [Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens
Weaknesses CWE-923
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 5.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mongodb

Published:

Updated: 2026-11-13T16:50:44.289Z

Reserved: 2026-11-11T21:29:16.291Z

Link: CVE-2026-126835

cve-icon Vulnrichment

Updated: 2026-11-13T16:50:40.705Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-11-12T17:17:33.147

Modified: 2026-11-13T17:17:26.487

Link: CVE-2026-126835

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-15T21:47:54Z

Weaknesses