Skip to content

Bump MongoDB.Driver from 3.14.0 to 3.14.1 - #218

Merged
github-actions[bot] merged 1 commit into
masterfrom
dependabot/nuget/MongoDB.Driver-3.14.1
Nov 20, 2026
Merged

github-actions[bot] merged 1 commit into
masterfrom
dependabot/nuget/MongoDB.Driver-3.14.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Updated MongoDB.Driver from 3.14.0 to 3.14.1.

Release notes

Sourced from MongoDB.Driver's releases.

3.14.1

[!IMPORTANT]
This release addresses several CVEs and contains breaking changes. Please find more details below.

  • CSHARP-6221 / CVE-2026-129937: Authentication identity smuggling via NUL-byte injection in SASL PLAIN payload
    Creating or parsing a PLAIN credential whose username or password contains a NUL (\0) character now throws ArgumentException.

  • CSHARP-6205 / CVE-2026-129936: Credential exposure via sensitive connection string values included in parse-error messages

    • ToString() on MongoUrl, MongoUrlBuilder and ConnectionString now returns a redacted URL. Usernames, passwords and other sensitive values become <redacted>.
    • MongoServerAddress.ToString() and MongoCredential.ToString() now return fixed type names, so they no longer expose host, port or username.
    • MongoClientSettings.ToString() no longer includes server addresses or credential details.
    • Exception messages from connection-string parsing, SRV validation, address parsing and authentication no longer include user-supplied values.

    Action required. Any code that uses these ToString() results as a connection string, key or identifier will break:

    • MongoUrl: replace url.ToString() with url.Url.
    • MongoUrlBuilder: replace builder.ToString() with builder.ToMongoUrl().Url. Passing builder.ToMongoUrl() straight to new MongoClient(...) also works.
    • ConnectionString: there is no public way to get the unredacted string back. Keep the original string you passed in.
    • MongoServerAddress: use $"{address.Host}:{address.Port}" instead of ToString().
    • MongoCredential: read credential.Username and credential.Source instead of ToString().
  • CSHARP-6283 / CVE-2026-129938: SRV host normalization logic should be explicit
    Hostnames used with mongodb+srv:// are now validated after normalization. This covers the seed host and the hosts returned by SRV lookups, including periodic re-resolution. This is normally a non-issue, since valid DNS names are unaffected.

  • CSHARP-6216: Wrong regex produced for String.IndexOfAny with an empty or null char array

The full list of issues resolved in this release is available at CSHARP JIRA project.

Documentation on the .NET driver can be found here.

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)

---
updated-dependencies:
- dependency-name: MongoDB.Driver
  dependency-version: 3.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 20, 2026
@github-actions
github-actions Bot merged commit a2f844b into master Nov 20, 2026
3 of 4 checks passed
@dependabot
dependabot Bot deleted the dependabot/nuget/MongoDB.Driver-3.14.1 branch November 20, 2026 08:05
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 .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants