Skip to content

Update dependency mongodb/mongodb to v2.4.2 [SECURITY] - #24

Open
renovate[bot] wants to merge 1 commit into
2.0.xfrom
renovate/packagist-mongodb-mongodb-vulnerability
Open

renovate[bot] wants to merge 1 commit into
2.0.xfrom
renovate/packagist-mongodb-mongodb-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mongodb/mongodb (source) 2.2.0 → 2.4.2 age adoption passing confidence

mongodb: Reject "." and NUL bytes in database and collection names

CVE-2026-81525 / GHSA-65fr-j4p9-vc33

More information

Details

Impact

Passing untrusted input as part of a database or collection name may result in targeting a different database or collection than specified.

Patches

Fixed in PHP library 1.21.4 and 2.4.1.

Workarounds

Validate database and collection names prior to passing into APIs.

Severity

  • CVSS Score: 8.6 / 10 (High)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


MongoDB: GridFS data disclosure and deletion via query-operator injection in file IDs

CVE-2026-88023 / GHSA-8fxw-fmj8-xp7j

More information

Details

Impact

Improper neutralization of special elements in data query logic in the GridFS component of the MongoDB PHP Library 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.

Patches

Fixed in 1.21.5 and 2.4.2.

Workarounds

Validate GridFS IDs.

References

https://jira.mongodb.org/browse/PHPLIB-1929

Severity

  • CVSS Score: 6.1 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

mongodb/mongo-php-library (mongodb/mongodb)

v2.4.2

Compare Source

The PHP team is happy to announce that version 2.4.2 of the MongoDB PHP library is now available.

Release Highlights

  • PHPLIB-1929: Use exact match for file ID in GridFS queries CVE-2026-88023

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation for this library may be found in the PHP Library Manual.

Installation

This library may be installed or upgraded with:

composer require mongodb/mongodb:2.4.2

Installation instructions for the mongodb extension may be found in the PHP.net documentation.

v2.4.1

Compare Source

The PHP team is happy to announce that version 2.4.1 of the MongoDB PHP library is now available.

Release Highlights

  • PHPLIB-1927: Reject "." and NUL bytes in database and collection names by @​GromNaN in #​1967

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation for this library may be found in the PHP Library Manual.

Installation

This library may be installed or upgraded with:

composer require mongodb/mongodb:2.4.1

Installation instructions for the mongodb extension may be found in the PHP.net documentation.

v2.4.0

Compare Source

The PHP team is happy to announce that version 2.4.0 of the MongoDB PHP library is now available.

Release Highlights

A complete list of resolved issues in this release may be found in JIRA.

Documentation

Documentation for this library may be found in the PHP Library Manual.

Installation

This library may be installed or upgraded with:

composer require mongodb/mongodb:2.4.0

Installation instructions for the mongodb extension may be found in the PHP.net documentation.

v2.3.0

Compare Source

The PHP team is happy to announce that version 2.3.0 of the MongoDB PHP library is now available.

Release Highlights

Added support for MongoDB 's Intelligent Workload Management (IWM) and ingress connection rate limiting features. The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability. These features will be functional with MongoDB Atlas Server Version 9.0 and above.

A complete list of resolved issues in this release may be found in JIRA.

Server compatibility

MongoDB 4.4+ Required: Future versions of the library will require MongoDB 4.4 or later. MongoDB 4.2 support is deprecated.

The Client Backpressure features will be functional with MongoDB Atlas Server Version 9.0 and above.

Documentation

Documentation for this library may be found in the PHP Library Manual.

Installation

This library may be installed or upgraded with:

composer require mongodb/mongodb:2.3.0

Installation instructions for the mongodb extension may be found in the PHP.net documentation.


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the security label Oct 2, 2026
@renovate

renovate Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Branch automerge failure

This PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.


  • Branch has one or more failed status checks

| datasource | package         | from  | to    |
| ---------- | --------------- | ----- | ----- |
| packagist  | mongodb/mongodb | 2.2.0 | 2.4.2 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate
renovate Bot force-pushed the renovate/packagist-mongodb-mongodb-vulnerability branch from 839d2ec to 138f956 Compare October 6, 2026 20:27
@renovate renovate Bot changed the title Update dependency mongodb/mongodb to v2.4.1 [SECURITY] Update dependency mongodb/mongodb to v2.4.2 [SECURITY] Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants