← Back to Pull requests

fix(deps): update module go.mongodb.org/mongo-driver/v2 to v2.9.2 #9842

Closed
unknown closed this pull request without merging on Oct 07, 2026 07:37 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 05:44 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| go.mongodb.org/mongo-driver/v2 | v2.9.1 → v2.9.2 | !age | !confidence |

---

Release Notes

<details>
<summary>mongodb/mongo-go-driver (go.mongodb.org/mongo-driver/v2)</summary>

v2.9.2: MongoDB Go Driver 2.9.2

Compare Source

The MongoDB Go Driver Team is pleased to release version 2.9.2 of the official MongoDB Go Driver.

Release Highlights

\[!WARNING]

Go Driver versions v2.1.0 through v2.8.1 and v2.9.0 through v2.9.1 are affected by a security issue CVE-2026-81521 in Client.BulkWrite. The fix shipped in v2.8.2 but was not included in v2.9.0 or v2.9.1. This release restores the fix for the 2.9 line. Users on v2.9.0 or v2.9.1 are encouraged to upgrade to Go Driver v2.9.2 as soon as possible. Go Driver v1 is not affected.

This release addresses CVE-2026-81521, a security issue in calling Client.BulkWrite. A caller-controlled database name containing a period ('.') may be interpreted as a different namespace when forwarded to MongoDB. This could redirect operations to a database or collection other than the one intended by the application.

It also restores a fix from v2.8.1 that was likewise missing from v2.9.0 and v2.9.1: when a command's first attempt failed with a server error and the retry reported NoWritesPerformed, operations such as Database.RunCommand could return a nil error instead of the server error. They now return the original server error.

Sessions now inherit timeoutMS from the client, so operations run in a session honor the client-level timeout.

What's Changed

##### 🐛 Fixed

  • GODRIVER-4142: Inherit timeoutMS at the session level (#&#8203;2586) by @&#8203;prestonvasquez in #&#8203;2598

  • GODRIVER-4135 Reject negative uncompressed size in DecompressPayload. by @&#8203;qingyang-hu in #&#8203;2607

  • GODRIVER-4083 fix duplicate error logging for network error by @&#8203;ayesha-ilm in #&#8203;2595

  • GODRIVER-4136: reject BSON lengths below the 5-byte minimum before slicing by @&#8203;rajath201 in #&#8203;2591

  • GODRIVER-4118 fix: correct Truncate boundary handling for multi-byte UTF-8 characters by @&#8203;zigzagdev in #&#8203;2564

  • GODRIVER-4177 guard empty documents slice in decodeOpReply QueryFailure branch by @&#8203;rajath201 in #&#8203;2638

  • GODRIVER-4075 Return an error if there are invalid characters in the … by @&#8203;prestonvasquez in #&#8203;2665

  • GODRIVER-4088 Return the server error when the first attempt fails wi… by @&#8203;prestonvasquez in #&#8203;2666
  • Full Changelog: <https://github.com/mongodb/mongo-go-driver/compare/v2.9.1...v2.9.2>

    </details>

    ---

    Configuration

    📅 Schedule: (UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

    🔕 Ignore: Close this PR and you won't be reminded about these updates again.

    ---

    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

    ---

    This PR was generated by Mend Renovate. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMzQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEzNC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJTa2lwIENoYW5nZWxvZyIsImRlcGVuZGVuY2llcyJdfQ==-->

    Diff: 647 lines (+485 / -162) across 8 files Reviewer: dmathieu Review duration: 112m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 647 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.387
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9842"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52.0% (MEDIUM) · Higher = larger blast radius
    52.0%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%