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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MongoDB | Node.js Driver | >= 6.7.0 – < 7.9.0 | 7.9.0 |
Advisories 1
- WID-SEC-2026-4561 MongoDB Treiber (C#, Libmongocrypt, Atlas SQL JDBC, Rust, Node.js): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 12, 2026