{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-6691 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-6691 is a high-severity memory corruption vulnerability in MongoDB C Driver, published on 6 May 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-6691 and fix it if it is affected.\n\nWhat it is: CVE-2026-6691 is a high-severity memory corruption vulnerability in MongoDB C Driver, published on 6 May 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-6691 in the wild and no public exploit code.\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-6691/ (Markdown: https://insights.sbomify.com/CVE-2026-6691/index.md)","id":"CVE-2026-6691","markdown":"https://insights.sbomify.com/CVE-2026-6691/index.md","name":"CVE-2026-6691","record":{"aliases":["DEBIAN-CVE-2026-6691","GHSA-587q-94wg-2pfp","OESA-2026-2690","OESA-2026-2691","OESA-2026-2692","UBUNTU-CVE-2026-6691"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"MongoDB C Driver","requires_auth":"none","summary":"Heap buffer overflow in MongoDB C Driver's SASL integration allows code execution via crafted GSSAPI URIs.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"c_driver","vendor":"mongodb"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"The MongoDB C Driver's Cyrus SASL integration performs unsafe string copying during username canonicalization, enabling a heap buffer overflow before any authentication or network traffic. This may be triggered by passing untrusted input in the username of a MongoDB URI with authMechanism=GSSAPI.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MongoDB C Driver Cyrus SASL Canonicalization Buffer Overflow","id":"CVE-2026-6691","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Slider Revolution 7.0.0 - 7.0.10 - Authenticated (Subscriber+) Arbitrary File Upload via _get_media_url","id":"CVE-2026-6692"},"packages":[],"prev":{"headline":"LifePress \u003c= 2.2.2 - Unauthenticated Stored Cross-Site Scripting via 'n' Parameter via lp_update_mds AJAX Action","id":"CVE-2026-6690"},"products":["MongoDB C Driver"],"published":"2026-05-06","related":[{"cvss_score":9.2,"headline":"Heap overflow via oversized decrypted TLS record sequence in Windows Secure Channel stream","id":"CVE-2026-93393","kev_date_added":null,"published":"2026-09-17"},{"cvss_score":8.2,"headline":"Heap corruption via OCSP request double free from crafted multi-URL certificate in TLS client","id":"CVE-2026-84964","kev_date_added":null,"published":"2026-09-03"},{"cvss_score":7.3,"headline":"Accessing Untrusted Directory May Allow Local Privilege Escalation","id":"CVE-2024-7553","kev_date_added":null,"published":"2024-08-07"},{"cvss_score":6.9,"headline":"Integer Underflow → Heap Out-of-Bounds Read in `bson_new_from_buffer()","id":"CVE-2026-93395","kev_date_added":null,"published":"2026-09-17"},{"cvss_score":6.9,"headline":"Bulk write with options may read invalid memory","id":"CVE-2025-12119","kev_date_added":null,"published":"2025-11-18"},{"cvss_score":6.3,"headline":"libmongoc SCRAM client nonce-validation bypass","id":"CVE-2026-93394","kev_date_added":null,"published":"2026-09-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"total"},"state":"PUBLISHED","updated":"2026-05-07","vendors":["MongoDB Inc."]},"summary":"Heap buffer overflow in MongoDB C Driver's SASL integration allows code execution via crafted GSSAPI URIs.","url":"https://insights.sbomify.com/CVE-2026-6691/"}