Description
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.
Metrics
CVSS 3.1 8.1/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MongoDB | PHP Library | < 1.21.4; >= 2.0.0, < 2.4.1 |
| MongoDB | PHP Extension | < 1.21.6; >= 2.0.0, < 2.4.1 |
References
- https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6Product, Release Notes
- https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1Product, Release Notes
- https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4Product, Release Notes
- https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1Product, Release Notes
- https://jira.mongodb.org/browse/PHPLIB-1927Vendor Advisory
Timeline
- Published
- Aug 27, 2026
- Last modified
- Sep 29, 2026
- NVD status
- Analyzed