CVE-2026-126837: falha crítica em MongoDB Node.js Driver
Attacker 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 guard
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
48Vexday Risk Score
Sem sinal de exploração. Ela tem prova de conceito pública.
ssvc Attendcvss 9.1epss 0.2%
da publicação à arma2 dias
Publicada no NVD12 de nov.
1ª PoC+2d
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.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Produtos afetados
MongoDB · Node.js DriverPoCs públicas encontradas — 1
githubgithub.com/googlesky/CVE-2026-126837★ 0⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
CVEs relacionadas — MongoDB Node.js Driver
No mesmo produto, das mais perigosas para as menos.
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-126835MEDIUM[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokensEPSS 0.3%CVE-2026-129930MEDIUMCredential exposure via unmasked connection string in driver parse-error messages for the Node driverEPSS 0.1%
Referências
https://jira.mongodb.org/browse/NODE-7830