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.
https://jira.mongodb.org/browse/PHPLIB-1927
https://github.com/mongodb/mongo-php-library/releases/tag/2.4.1
https://github.com/mongodb/mongo-php-library/releases/tag/1.21.4
https://github.com/mongodb/mongo-php-driver/releases/tag/2.4.1
https://github.com/mongodb/mongo-php-driver/releases/tag/1.21.6
Published: 2026-08-27
Updated: 2026-08-28
Base Score: 8.5
Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N
Severity: High
Base Score: 8.1
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Severity: High
Base Score: 8.6
Vector: 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
Severity: High
EPSS: 0.00273