{"answers":{"affected":"3 open source packages ship an affected version, including pymongo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-88029 in the wild and no public exploit code.","fix":"Upgrade pymongo to 4.18.1 or later.","what":"CVE-2026-88029 is a medium-severity SQL injection vulnerability in MongoDB Python Driver, published on 10 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-88029 and fix it if it is affected.\n\nWhat it is: CVE-2026-88029 is a medium-severity SQL injection vulnerability in MongoDB Python Driver, published on 10 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-88029 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pymongo (PyPI): affected all versions; fixed in 4.18.1\n- pymongo (PyPI): affected all versions; fixed in 4.18.1\n- pymongo (PyPI): affected all versions; fixed in 4.18.1\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-88029/ (Markdown: https://insights.sbomify.com/CVE-2026-88029/index.md)","id":"CVE-2026-88029","markdown":"https://insights.sbomify.com/CVE-2026-88029/index.md","name":"CVE-2026-88029","record":{"aliases":["ALSA-2026:82858","DEBIAN-CVE-2026-88029","ECHO-8489-36a3-2f24","GHSA-8fvv-fgr5-f8ch","MINI-5qpc-6542-cwq3","PYSEC-2026-4294","RHSA-2026:82858","RLSA-2026:82858","UBUNTU-CVE-2026-88029","openSUSE-SU-2026:11808-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"MongoDB Python Driver","requires_auth":"low_privilege","summary":"An authenticated user can inject query operators into file IDs to read unauthorized file content or delete all chunks in a GridFS bucket.","user_interaction":"not_required","vuln_class":"sql_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mongodb","cpe":[{"product":"python_driver","vendor":"mongodb"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-943","name":"Improper Neutralization of Special Elements in Data Query Logic"}],"description":"Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB Python Driver can cause a caller-supplied structured file identifier to be interpreted as a query condition rather than as a literal identifier. An authenticated user who can influence the identifier passed by an affected application may obtain stored file content beyond the intended target or cause all GridFS file chunks in the affected bucket to be removed, rendering stored file content unreadable. The affected rename operation may also rename a stored file other than the intended target.","ecosystems":["AlmaLinux:8","PyPI","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8","openSUSE:Tumbleweed"],"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":"GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Python Driver","id":"CVE-2026-88029","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"sql_injection","year":"2026"},"n_packages":96,"n_references":1,"next":{"headline":"GridFS data disclosure and deletion via query-operator injection in file IDs in the MongoDB Ruby Driver","id":"CVE-2026-88030"},"packages":[{"ecosystem":"PyPI","fixed":["4.18.1"],"introduced":["0"],"last_affected":[],"package":"pymongo","purl":null,"source":"GHSA-8fvv-fgr5-f8ch"},{"ecosystem":"PyPI","fixed":["4.18.1"],"introduced":["0"],"last_affected":[],"package":"pymongo","purl":"pkg:pypi/pymongo","source":"GHSA-8fvv-fgr5-f8ch"},{"ecosystem":"PyPI","fixed":["4.18.1"],"introduced":["0"],"last_affected":[],"package":"pymongo","purl":"pkg:pypi/pymongo","source":"PYSEC-2026-4294"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.7-31.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python-nose-docs","purl":"pkg:rpm/almalinux/python-nose-docs","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-3.module_el8.10.0+4300+ca04280a"],"introduced":["0"],"last_affected":[],"package":"python-pymongo-doc","purl":"pkg:rpm/almalinux/python-pymongo-doc","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.2-3.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python-sqlalchemy-doc","purl":"pkg:rpm/almalinux/python-sqlalchemy-doc","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["15.1.0-23.module_el8.10.0+3937+b6a3652f"],"introduced":["0"],"last_affected":[],"package":"python-virtualenv-doc","purl":"pkg:rpm/almalinux/python-virtualenv-doc","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.1-2.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-PyMySQL","purl":"pkg:rpm/almalinux/python3-PyMySQL","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-3.module_el8.10.0+4300+ca04280a"],"introduced":["0"],"last_affected":[],"package":"python3-bson","purl":"pkg:rpm/almalinux/python3-bson","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.0-2.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-distro","purl":"pkg:rpm/almalinux/python3-distro","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.7-2.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-docs","purl":"pkg:rpm/almalinux/python3-docs","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["0.14-12.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-docutils","purl":"pkg:rpm/almalinux/python3-docutils","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.7-31.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-nose","purl":"pkg:rpm/almalinux/python3-nose","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["2.2.0-22.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-pygments","purl":"pkg:rpm/almalinux/python3-pygments","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-3.module_el8.10.0+4300+ca04280a"],"introduced":["0"],"last_affected":[],"package":"python3-pymongo","purl":"pkg:rpm/almalinux/python3-pymongo","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.7.0-3.module_el8.10.0+4300+ca04280a"],"introduced":["0"],"last_affected":[],"package":"python3-pymongo-gridfs","purl":"pkg:rpm/almalinux/python3-pymongo-gridfs","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-21.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-scipy","purl":"pkg:rpm/almalinux/python3-scipy","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.2-3.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python3-sqlalchemy","purl":"pkg:rpm/almalinux/python3-sqlalchemy","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["15.1.0-23.module_el8.10.0+3937+b6a3652f"],"introduced":["0"],"last_affected":[],"package":"python3-virtualenv","purl":"pkg:rpm/almalinux/python3-virtualenv","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.31.1-3.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-wheel","purl":"pkg:rpm/almalinux/python3-wheel","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.31.1-3.module_el8.9.0+3700+efebe9fd"],"introduced":["0"],"last_affected":[],"package":"python3-wheel-wheel","purl":"pkg:rpm/almalinux/python3-wheel-wheel","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-39.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python36","purl":"pkg:rpm/almalinux/python36","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-39.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python36-debug","purl":"pkg:rpm/almalinux/python36-debug","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-39.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python36-devel","purl":"pkg:rpm/almalinux/python36-devel","source":"ALSA-2026:82858"},{"ecosystem":"AlmaLinux:8","fixed":["3.6.8-39.module_el8.10.0+3769+3838165b"],"introduced":["0"],"last_affected":[],"package":"python36-rpm-macros","purl":"pkg:rpm/almalinux/python36-rpm-macros","source":"ALSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.10.1-2.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-PyMySQL","purl":"pkg:rpm/redhat/python-PyMySQL","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.4.0-2.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-distro","purl":"pkg:rpm/redhat/python-distro","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.7-2.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-docs","purl":"pkg:rpm/redhat/python-docs","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14-12.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-docutils","purl":"pkg:rpm/redhat/python-docutils","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.7-31.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-nose","purl":"pkg:rpm/redhat/python-nose","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.7-31.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-nose-docs","purl":"pkg:rpm/redhat/python-nose-docs","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:2.2.0-22.module+el8.10.0+20784+edafcd43"],"introduced":["0"],"last_affected":[],"package":"python-pygments","purl":"pkg:rpm/redhat/python-pygments","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.7.0-3.module+el8.10.0+25000+2cc6bf61"],"introduced":["0"],"last_affected":[],"package":"python-pymongo","purl":"pkg:rpm/redhat/python-pymongo","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.7.0-3.module+el8.10.0+25000+2cc6bf61"],"introduced":["0"],"last_affected":[],"package":"python-pymongo-debuginfo","purl":"pkg:rpm/redhat/python-pymongo-debuginfo","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.7.0-3.module+el8.10.0+25000+2cc6bf61"],"introduced":["0"],"last_affected":[],"package":"python-pymongo-debugsource","purl":"pkg:rpm/redhat/python-pymongo-debugsource","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.7.0-3.module+el8.10.0+25000+2cc6bf61"],"introduced":["0"],"last_affected":[],"package":"python-pymongo-doc","purl":"pkg:rpm/redhat/python-pymongo-doc","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.2-3.module+el8.10.0+20981+3704b446"],"introduced":["0"],"last_affected":[],"package":"python-sqlalchemy","purl":"pkg:rpm/redhat/python-sqlalchemy","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.2-3.module+el8.10.0+20981+3704b446"],"introduced":["0"],"last_affected":[],"package":"python-sqlalchemy-doc","purl":"pkg:rpm/redhat/python-sqlalchemy-doc","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:15.1.0-23.module+el8.10.0+22619+61b70790"],"introduced":["0"],"last_affected":[],"package":"python-virtualenv","purl":"pkg:rpm/redhat/python-virtualenv","source":"RHSA-2026:82858"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:15.1.0-23.module+el8.10.0+22619+61b70790"],"introduced":["0"],"last_affected":[],"package":"python-virtualenv-doc","purl":"pkg:rpm/redhat/python-virtualenv-doc","source":"RHSA-2026:82858"}],"prev":{"headline":"SQL injection in Laravel MongoDB (PHP)","id":"CVE-2026-88028"},"products":["Python Driver"],"published":"2026-09-10","related":[{"cvss_score":5.9,"headline":"Application denial of service via out-of-bounds read in BSON Regex decoding in MongoDB Python Driver","id":"CVE-2026-106435","kev_date_added":null,"published":"2026-10-08"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["MongoDB"]},"summary":"An authenticated user can inject query operators into file IDs to read unauthorized file content or delete all chunks in a GridFS bucket.","url":"https://insights.sbomify.com/CVE-2026-88029/"}