Skip to content

fix(deps): bump go.mongodb.org/mongo-driver/v2 from 2.9.2 to 2.10.1 in /api - #1113

Merged
AchoArnold merged 1 commit into
mainfrom
dependabot/go_modules/api/go.mongodb.org/mongo-driver/v2-2.10.1
Dec 1, 2026
Merged

AchoArnold merged 1 commit into
mainfrom
dependabot/go_modules/api/go.mongodb.org/mongo-driver/v2-2.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bumps go.mongodb.org/mongo-driver/v2 from 2.9.2 to 2.10.1.

Release notes

Sourced from go.mongodb.org/mongo-driver/v2's releases.

MongoDB Go Driver 2.10.1

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

Release Highlights

[!WARNING]
Go Driver versions before 2.10.1 (this release) are affected by a security issue related to credential exposure in connection string parse errors (CVE-2026-129934). Users are encouraged to upgrade to the fixed version as soon as possible.

[!WARNING]
Go Driver versions before 2.10.1 (this release) are affected by a security issue related to authentication identity smuggling via NUL characters in PLAIN credentials (CVE-2026-129935). Users are encouraged to upgrade to the fixed version as soon as possible.

[!NOTE] As a result of the CVE fixes, connection string errors are now less detailed, and code that matches on the previous error text may need to be updated.

This release addresses CVE-2026-129934, credential exposure in connection string parse errors. When a connection string option value contained an invalid percent-encoding, the parse error quoted the entire raw value, which could include a secret. Connection string parse errors no longer include connection string contents. See GHSA-3c2m-3gh6-65rx.

This release also addresses CVE-2026-129935, authentication identity smuggling via NUL characters in PLAIN credentials. The driver now rejects a PLAIN username or password that contains a \x00 character before sending an authentication command. See GHSA-29qr-p9gm-xfvf.

Full Changelog: mongodb/mongo-go-driver@v2.10.0...v2.10.1

For a full list of tickets included in this release, please see the list of fixed issues.

Documentation for the Go Driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go Driver is greatly appreciated!

MongoDB Go Driver 2.10.0

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

Release Highlights

This release fixes a bug that prevented timeoutMS from being applied to session and transaction operations, and adds two new options intended for internal use only.

addCommandFields for Collection & IndexView APIs

[!WARNING] The addCommandFields option is intended for internal use only. It may be changed or removed without notice at any time.

Allows adding arbitrary fields to Collection and IndexView commands.

collectionUUID for Client.BulkWrite

[!WARNING] The collectionUUID option is intended for internal use only. It may be changed or removed without notice at any time.

Allows specifying a collectionUUID for bulk write requests.

What's Changed

... (truncated)

Commits
  • e14a381 BUMP v2.10.1
  • 7f963bc Merge commit from fork
  • 82e0da9 Merge commit from fork
  • a63b9e6 GODRIVER-4258 Fix TestFLE2CreateCollection's invalid escCollection name. (#2718)
  • d241cc5 BUMP v2.10.0
  • 6997a74 GODRIVER-4245 Skip TestClient_BulkWrite_CollectionUUIDs on 8.1 sharded cluste...
  • 0a317eb GODRIVER-4165 Sample NumberSessionsInProgress in mtest.ResetClient. (#2702)
  • 7dad2b8 Merge pull request #2710 from matthewdale/godriver4244-rhel-upgrade
  • b0dd5a8 GODRIVER-4244 Upgrade Azure KMS and GCP KMS build hosts to RHEL 9.3
  • 6708c77 GODRIVER-4232: Run OCSP responder setup in foreground (#2709)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [go.mongodb.org/mongo-driver/v2](https://github.com/mongodb/mongo-go-driver) from 2.9.2 to 2.10.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v2.9.2...v2.10.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver/v2
  dependency-version: 2.10.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 1, 2026
@AchoArnold
AchoArnold merged commit 92681cf into main Dec 1, 2026
10 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/api/go.mongodb.org/mongo-driver/v2-2.10.1 branch December 1, 2026 11:40
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant