~ / search / GHSA-65fr-j4p9-vc33

GHSA-65fr-j4p9-vc33

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

Source: GitHub Advisory Database (reviewed) High CVE-2026-81525

Packages

EcosystemPackageAffectedFixed in
Packagist mongodb/mongodb < 1.21.4 1.21.4
Packagist mongodb/mongodb >= 2.0.0, < 2.4.1 2.4.1

Details

As written in the advisory (Markdown source, shown as plain text).

### 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.

References

External links from the advisory. They lead to third-party sites.