{"id":"CVE-2026-126835","aliases":["CVE-2026-126835"],"related":[],"kind":"vulnerability","state":"published","title":"[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-12T17:06:05.064Z","modified":"2026-11-13T17:17:26.487Z","severity":{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"mongodb","scheme":"CVSS:4.0","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","score":5.9,"rating":"MEDIUM"},{"scorer":"mongodb","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-923"],"affected":[{"ranges":[{"type":"semver","introduced":">= 6.7.0","fixed":"7.9.0","status":"affected"}],"vendor":"MongoDB","product":"Node.js Driver","source":"cvelist"}],"references":[{"url":"https://github.com/mongodb/node-mongodb-native/releases/tag/v7.9.0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mongodb","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-13T16:50:31.538Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-126835","url":"https://www.cve.org/CVERecord?id=CVE-2026-126835","licence":"CVE Terms of Use","modified":"2026-11-13T16:50:44.289Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-126835","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-126835","licence":"Public domain","modified":"2026-11-13T17:17:26.487Z"}],"updatedAt":"2026-11-25T22:59:50.541Z","epss":{"score":0.00354,"percentile":0.31196,"date":"2026-12-01T12:00:22.000Z"}}