Skip to content
High 8.3

Vulnerability in pymongo

CVE-2026-88029 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

A vulnerability tracked as CVE-2026-88029 has been found in pymongo.
Data can be tampered with by attackers. CVSS score: 8.3/10.
What to do: upgrade pymongo to 4.18.1 or later.
If unsure, ask your IT team or search "pymongo CVE-2026-88029" on the vendor's site.

CVE-2026-88029 (pymongo) — CWE-943 / CVSS v3 8.3
Attack vector: remote (network-reachable) / no user interaction
Patched: 4.18.1 — apply immediately
Workaround: Ensure your existing workflow only supports exact matching on the GridFS API.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (CWE-943) exists in pymongo.

Affected scope

Check the vendor advisory for the affected versions of pymongo.

Severity

Severity: High (CVSS 8.3/10). Data can be tampered with by attackers.

How to fix

Update to 4.18.1.

Workaround

Workaround: Ensure your existing workflow only supports exact matching on the GridFS API.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'pymongo' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'pymongo' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で pymongo を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply temporary workaroundmitigate
    Ensure your existing workflow _only_ supports exact matching on the GridFS API.

    パッチが適用されるまでの応急処置として、Ensure your existing workflow only supports exact matching on the GridFS API. を実施。回避策の副作用 (機能低下) を確認した上で。

  3. 3
    Apply patchpatch
    Upgrade pymongo to 4.18.1

    ステージング環境で 4.18.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  4. 4
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
pippymongo
< 4.18.1→ 4.18.1
PyPIpymongo
< 4.18.1→ 4.18.1

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details