CVE-2026-126835: medium-severity vulnerability in MongoDB Node.js Driver
[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.9epss 0.3%
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.
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
Affected products
MongoDB · Node.js DriverRelated CVEs — MongoDB Node.js Driver
In the same product, most dangerous first.
CVE-2026-119179HIGHMongoDB Node.js driver: Connection pool desynchronization after operation timeout can expose other user's dataEPSS 0.3%CVE-2026-129929MEDIUMAuthentication identity confusion via NUL-byte injection in SASL PLAIN credentialsEPSS 0.3%CVE-2026-126837CRITICALAttacker able to redirect a client's database traffic to a host they control via special characters in an SRV target, bypassing the SRV parent-domain guardEPSS 0.2%CVE-2026-129930MEDIUMCredential exposure via unmasked connection string in driver parse-error messages for the Node driverEPSS 0.1%