CVE-2026-126835

Source
https://cve.org/CVERecord?id=CVE-2026-126835
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126835.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126835
Published
2026-11-12T17:06:05Z
Modified
2026-11-15T02:30:18Z
Severity
  • 5.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
[Node.js Driver] OIDC ENVIRONMENT confusion bypasses ALLOWED_HOSTS and leaks human-callback bearer tokens
Details

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.

Database specific
{
    "cna_assigner": "mongodb",
    "cwe_ids": [
        "CWE-923"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126835.json"
}
References

Affected packages

Git / github.com/mongodb/node-mongodb-native

Affected ranges

Type
GIT
Repo
https://github.com/mongodb/node-mongodb-native
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": ">= 6.7.0"
                },
                {
                    "fixed": "7.9.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "original_tag": "v7.9.0",
            "range": [
                {
                    "fixed": "2503f33880e08622ff73809f3e5d6b4be831c423"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v6.*
v6.10.0
v6.11.0
v6.12.0
v6.13.0
v6.13.1
v6.14.0
v6.14.1
v6.14.2
v6.15.0
v6.16.0
v6.17.0
v6.18.0
v6.19.0
v6.20.0
v6.7.0
v6.8.0
v6.9.0
v7.*
v7.0.0
v7.1.0
v7.2.0
v7.3.0
v7.4.0
v7.5.0
v7.6.0
v7.7.0
v7.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126835.json"