Bug 2572676 (CVE-2026-126835)

Summary: CVE-2026-126835 mongodb: MongoDB Node.js driver: Information disclosure via improper permitted-host validation during OIDC authentication
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abarbaro, alizardo, dhanak, drosa, dsimansk, jcantril, jchui, jhe, jkrystof, kingland, ktsao, manissin, mnovotny, nboldt, oaljalju, psrna, rojacob, sausingh, tzimanyi
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the MongoDB Node.js driver. This flaw allows information disclosure because the driver fails to consistently enforce permitted-host restrictions during OpenID Connect (OIDC) authentication. An attacker who can influence the connection settings provided to the driver can cause the application to transmit authentication bearer tokens to an unauthorized host.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-12 17:21:32 UTC
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.