Skip to content

build(deps): bump mongodb from 7.9.0 to 7.9.1 in /Frontend - #321

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/Frontend/mongodb-7.9.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/Frontend/mongodb-7.9.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps mongodb from 7.9.0 to 7.9.1.

Release notes

Sourced from mongodb's releases.

v7.9.1

7.9.1 (2026-11-19)

The MongoDB Node.js team is pleased to announce version 7.9.1 of the mongodb package!

Release Notes

[!WARNING] Node Driver versions before 7.9.1 are affected by a security issue related to NUL characters in PLAIN authentication credentials changing the identity that the server authenticates (CVE-2026-129929). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.

Applications that use PLAIN authentication in affected versions can avoid this issue by rejecting any credentials that contains a NUL character (\0, or %00 in a connection string) before passing it to MongoClient.

[!WARNING] Node Driver versions from 4.0.0 before 7.9.1 are affected by a security issue where credentials and other values from the connection string can appear in cleartext in error messages and in logged representations of the client (CVE-2026-129930). Users are encouraged to upgrade to the fixed version or mitigate as soon as possible.

Applications on affected versions can reduce their exposure by passing the username and password through the auth option instead of the connection string, and by not writing errors thrown by MongoClient, or the client and its options, to logs.

MongoClient now throws when the credentials for PLAIN authentication contains a NUL character

A NUL character separates the fields of the PLAIN message (RFC 4616), so it cannot be part of a username or password.

Now, credentials that contains a NUL character, whether they come from the connection string or from the options object, make the MongoClient constructor throw before any authentication command is sent to the server. Other authentication mechanisms are not affected.

// Now fails:
// throws!
const client = new MongoClient('mongodb://ldap.example.com', {
authMechanism: 'PLAIN',
auth: {
username: 'user\0name',
password: process.env.PASSWORD
}
});
// also throws:
// 'mongodb://user%00name:password@ldap.example.com/?authMechanism=PLAIN'

Errors and logged representations no longer include values from the connection string

A note on previous behavior

Connection string components that the driver rejected from bad connection strings are often written to an application log along with the error.

Example #1: A connection string which is malformed, but has a host which is indistinguishable from credentials (e.g: mongodb://user1:12345). In this case, connection string parsing would pass, but the connection would fail.

Example #2: A credential may be malformed, but fail parsing entirely (e.g: mongodb://user:MyS3cr3t). This would fail parsing, and would throw an error with the user input.

... (truncated)

Changelog

Sourced from mongodb's changelog.

7.9.1 (2026-11-19)

Bug Fixes

  • NODE-7799: keep credential values out of errors and option output (74ac2bb)
  • NODE-7828: reject NUL characters in PLAIN credentials (9796332)
Commits
  • 7a75a3c chore(main): release 7.9.1 (#5133)
  • 658bde9 Merge commit from fork
  • 74ac2bb fix(NODE-7799): keep credential values out of errors and option output
  • 9796332 fix(NODE-7828): reject NUL characters in PLAIN credentials
  • 37e6a04 docs(NODE-7953): document that cursors do not support overlapping *next() c...
  • 02d1f62 ci(NODE-7901): update & pin GitHub Actions to commit SHAs (#5126)
  • 3e8095a docs: update release docs to reference new slack workflow (#5121)
  • f4bd135 test(NODE-7703): unskip SDAM tests after server upgrade (#5112)
  • a289233 docs: generate docs for v7.9 (#5120)
  • e63c682 ci: ignore the docs dir in codeql (#5119)
  • See full diff 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 [mongodb](https://github.com/mongodb/node-mongodb-native) from 7.9.0 to 7.9.1.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v7.9.0...v7.9.1)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-version: 7.9.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 22, 2026
@coderabbitai

coderabbitai Bot commented Nov 22, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bd7206c7-8ff3-4d36-9c74-bf90788bdb78

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants