AI and data stack advisories

Severe, 6 weeks2431Projects328

2431 severe, 6 weeks · 328 projects

MongoDBCVE-2026-126835

The MongoDB Node.js driver does not consistently enforce its permitted-host...

MongoDB

CVE-2026-126835 · Published Nov 12, 2026 · updated Nov 13, 2026

Medium5.9
Fix: upgrade to 7.9.0 or later
MongoDB advisory

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 versions

PackageAffectedFixed in
Node.js Driver
Product
>= >= 6.7.0, < 7.9.07.9.0
Details and references
CVSS 4.0
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Severity from
the vendor (its own CVE record or advisory)
Weakness
CWE-923

More MongoDB advisories

All MongoDB