CVE-2026-81525
The MongoDB client library for PHP does not sufficiently sanitize …
The MongoDB client library for PHP does not sufficiently sanitize special elements in application-supplied namespace identifiers before using them to construct the target namespace for database operations. An application that incorporates untrusted text into these identifiers may have operations silently directed at a different storage location than the one the application intended.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.7
- github.com/mongodb/mongo-php-library/releases/tag/2.4.1
- github.com/mongodb/mongo-php-driver/releases/tag/1.21.6
- github.com/mongodb/mongo-php-driver/releases/tag/2.4.1
- github.com/mongodb/mongo-php-library/releases/tag/1.21.4
- jira.mongodb.org/browse/PHPLIB-1927
- github.com/mongodb/mongo-php-library/security/advisories/GHSA-65fr-j4p9-vc33
- nvd.nist.gov/vuln/detail/CVE-2026-81525
- nvd.nist.gov/vuln/detail/CVE-2026-81525
- cve.org/CVERecord?id=CVE-2026-81525
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.