{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126835 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-126835 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126835 is a medium-severity information disclosure vulnerability in MongoDB Node.js Driver, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-126835 and fix it if it is affected.\n\nWhat it is: CVE-2026-126835 is a medium-severity information disclosure vulnerability in MongoDB Node.js Driver, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-126835 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-126835/ (Markdown: https://insights.sbomify.com/CVE-2026-126835/index.md)","id":"CVE-2026-126835","markdown":"https://insights.sbomify.com/CVE-2026-126835/index.md","name":"CVE-2026-126835","record":{"aliases":[],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"database driver","requires_auth":"none","requires_specific_call":true,"summary":"OIDC authentication in the MongoDB Node.js driver can send bearer tokens to hosts outside allowed hosts, leaking credentials.","user_interaction":"required","vuln_class":"information_disclosure","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"mongodb","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-923","name":"Improper Restriction of Communication Channel to Intended Endpoints"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens","id":"CVE-2026-126835","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Server-side request forgery in Node.js Driver","id":"CVE-2026-126837"},"nickname":null,"packages":[],"prev":{"headline":"Cpio: cpio: stack-based buffer overflow in write_out_tar_header() with long usernames/groupnames","id":"CVE-2026-126831"},"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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-11-13","vendors":["MongoDB"]},"summary":"OIDC authentication in the MongoDB Node.js driver can send bearer tokens to hosts outside allowed hosts, leaking credentials.","url":"https://insights.sbomify.com/CVE-2026-126835/"}