Bug 2572671 (CVE-2026-126837) - CVE-2026-126837 mongodb: MongoDB Node.js driver: Information disclosure via improper DNS SRV record validation
Summary: CVE-2026-126837 mongodb: MongoDB Node.js driver: Information disclosure via i...
Keywords:
Status: NEW
Alias: CVE-2026-126837
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-12 17:11 UTC by OSIDB Bzimport
Modified: 2026-11-20 10:54 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-12 17:11:20 UTC
A validation flaw in the DNS SRV host discovery of the MongoDB Node.js driver may cause the driver to connect to a host outside the expected domain. For a mongodb+srv:// connection string, the driver checks each host name in the DNS SRV response against the domain of the connection string. The driver then builds the connection address from the original name, in which certain characters end the host name early. An unauthenticated party who can forge or change the DNS SRV response may redirect the connection to a host of their choice. TLS does not prevent this, because the driver verifies the server certificate against the redirected host name. This may result in unintended disclosure of application data and authentication credentials, and in altered query results. Applications that use mongodb:// connection strings are not affected.


Note You need to log in before you can comment on or make changes to this bug.