{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-135222 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-135222 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-135222 is a low-severity authentication bypass vulnerability in MongoDB C Driver, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-135222 and fix it if it is affected.\n\nWhat it is: CVE-2026-135222 is a low-severity authentication bypass vulnerability in MongoDB C Driver, published on 25 Nov 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-135222 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 C 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-135222/ (Markdown: https://insights.sbomify.com/CVE-2026-135222/index.md)","id":"CVE-2026-135222","markdown":"https://insights.sbomify.com/CVE-2026-135222/index.md","name":"CVE-2026-135222","record":{"aliases":["UBUNTU-CVE-2026-135222"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"database driver","requires_auth":"low_privilege","requires_specific_call":true,"summary":"A process-wide credential cache can make MongoDB C Driver AWS authentication use a different identity than configured, granting unintended privileges.","user_interaction":"not_required","vuln_class":"auth_bypass","vulnerable_functions":[]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"mongodb","component":null,"cpe":[],"cvss":{"score":2,"severity":"low","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"MongoDB C Driver contains an incorrect authorization weakness in the credential-selection logic used by its AWS authentication mechanism. A process-wide credential cache can take precedence over the credentials supplied for an individual connection, so a connection configured with one set of credentials may instead be authenticated under an identity cached earlier in the same process. A party able to cause the application process to open an additional connection may thereby obtain unintended privileges.","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":"Incorrect authorization in AWS credential selection in the C Driver","id":"CVE-2026-135222","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"auth_bypass","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":0,"n_references":1,"n_vendor_status":0,"next":{"headline":"Memory leak on duplicate fields in key vault documents in libmongocrypt","id":"CVE-2026-135223"},"nickname":null,"packages":[],"prev":{"headline":"Server-Side Request Forgery in GitLab","id":"CVE-2026-135221"},"products":["C Driver"],"published":"2026-11-25","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","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["MongoDB"]},"summary":"A process-wide credential cache can make MongoDB C Driver AWS authentication use a different identity than configured, granting unintended privileges.","url":"https://insights.sbomify.com/CVE-2026-135222/"}