{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126837 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-126837 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126837 is a critical server-side request forgery vulnerability in MongoDB Node.js Driver, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-126837 and fix it if it is affected.\n\nWhat it is: CVE-2026-126837 is a critical server-side request forgery vulnerability in MongoDB Node.js Driver, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-126837 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.\n\nAffected product: MongoDB Node.js Driver. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126837/ (Markdown: https://insights.sbomify.com/CVE-2026-126837/index.md)","id":"CVE-2026-126837","markdown":"https://insights.sbomify.com/CVE-2026-126837/index.md","name":"CVE-2026-126837","record":{"aliases":[],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"database driver","requires_auth":"none","requires_specific_call":true,"summary":"Attackers who forge DNS SRV responses can redirect MongoDB Node.js driver connections to their host, leaking credentials and altering queries.","user_interaction":"not_required","vuln_class":"ssrf","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"mongodb","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-180","name":"Incorrect Behavior Order: Validate Before Canonicalize"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-11-14","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-14T05:57:52Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-126837","stars":0,"title":"Containerized differential lab and PoC for CVE-2026-126837: MongoDB Node.js driver 3.3.3-7.7.x validates SRV targets with an uncanonicalized endsWith, so '#', '?' or '/' in an SRV target redirects mongodb+srv clients to an attacker host, exposing SCRAM credentials. Proven on 7.7.0 vs 7.8.0; 42-payload sweep clean on the fixed line."}],"tier":"poc_unverified"},"has_fix":null,"headline":"Server-side request forgery in Node.js Driver","id":"CVE-2026-126837","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Rust Driver public Client Debug output exposes CSFLE KMS master-key material","id":"CVE-2026-126838"},"nickname":null,"packages":[],"prev":{"headline":"[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens","id":"CVE-2026-126835"},"products":["Node.js Driver"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-11-13","vendors":["MongoDB"]},"summary":"Attackers who forge DNS SRV responses can redirect MongoDB Node.js driver connections to their host, leaking credentials and altering queries.","url":"https://insights.sbomify.com/CVE-2026-126837/"}