CVE-2026-81525

Summary

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.

Affected Software

VendorProductVersion RangeStatus
MongoDBPHP Library0 < 1.21.4affected
MongoDBPHP Library2.0.0 < 2.4.1affected
MongoDBPHP Extension0 < 1.21.6affected
MongoDBPHP Extension2.0.0 < 2.4.1affected

Weaknesses

  • CWE-943: CWE-943: Improper Neutralization of Special Elements in Data Query Logic

References