{"answers":{"affected":"3 open source packages ship an affected version, including pymongo.","exploited":"There is no known exploitation of CVE-2026-96747 in the wild and no public exploit code.","fix":"Upgrade pymongo to 4.18.2 or later.","what":"CVE-2026-96747 is a medium-severity server-side request forgery vulnerability in MongoDB Python Driver, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-96747 and fix it if it is affected.\n\nWhat it is: CVE-2026-96747 is a medium-severity server-side request forgery vulnerability in MongoDB Python Driver, published on 24 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-96747 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pymongo (PyPI): affected from 3.9.0; fixed in 4.18.2\n- pymongo (PyPI): affected from 3.9.0; fixed in 4.18.2\n- pymongo (PyPI): affected from 3.9.0; fixed in 4.18.2\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-96747/ (Markdown: https://insights.sbomify.com/CVE-2026-96747/index.md)","id":"CVE-2026-96747","markdown":"https://insights.sbomify.com/CVE-2026-96747/index.md","name":"CVE-2026-96747","record":{"aliases":["AZL-105113","DEBIAN-CVE-2026-96747","ECHO-cab9-823f-652f","GHSA-qx36-8mw2-4r3x","MINI-rmgm-w249-p5rm","PYSEC-2026-4295","UBUNTU-CVE-2026-96747"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"MongoDB Python Driver","requires_auth":"low_privilege","summary":"An attacker with database write access can force the MongoDB Python Driver to connect to local Unix sockets via malicious KMS endpoints, bypassing network restrictions.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"The client-side field level encryption support in the MongoDB Python Driver can treat a key management endpoint value ending in \".sock\" as a local Unix domain socket path rather than a remote host. A user with write access to the encryption key metadata stored in the database can cause an application using the driver to open connections to local sockets on the application host. Data sent over these connections is limited to the start of a TLS handshake, so no chosen content is transmitted.","ecosystems":["PyPI"],"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":"Forced local Unix socket connection via dot-sock KMS endpoint in client-side field encryption","id":"CVE-2026-96747","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Connection redirection via percent-encoded delimiter injection in connection string hosts","id":"CVE-2026-96748"},"packages":[{"ecosystem":"PyPI","fixed":["4.18.2"],"introduced":["3.9.0"],"last_affected":[],"package":"pymongo","purl":null,"source":"GHSA-qx36-8mw2-4r3x"},{"ecosystem":"PyPI","fixed":["4.18.2"],"introduced":["3.9.0"],"last_affected":[],"package":"pymongo","purl":"pkg:pypi/pymongo","source":"GHSA-qx36-8mw2-4r3x"},{"ecosystem":"PyPI","fixed":["4.18.2"],"introduced":["3.9.0"],"last_affected":[],"package":"pymongo","purl":"pkg:pypi/pymongo","source":"PYSEC-2026-4295"}],"prev":{"headline":"Heap buffer overflow via mid-scan command list growth in client topology monitoring","id":"CVE-2026-96746"},"products":["Python Driver"],"published":"2026-09-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"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-09-24","vendors":["MongoDB"]},"summary":"An attacker with database write access can force the MongoDB Python Driver to connect to local Unix sockets via malicious KMS endpoints, bypassing network restrictions.","url":"https://insights.sbomify.com/CVE-2026-96747/"}