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.
{
"cna_assigner": "mongodb",
"cwe_ids": [
"CWE-943"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81525.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.21.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.4.1"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "1.21.6",
"range": [
{
"fixed": "133eab57aee3bfb0d34ab8ee4bee6b314b31118e"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "2.4.1",
"range": [
{
"fixed": "3d7e69fd9ed9ed3893b5a3fcdc204c6864ef2241"
}
],
"source": "REFERENCES_TAG"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.21.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:mongodb:php_library:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.4.1"
}
],
"source": "CPE_RANGE"
},
{
"original_tag": "1.21.4",
"range": [
{
"fixed": "75754fbb53a980f0e9b1d5ddfff99ee4f44463c2"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "2.4.1",
"range": [
{
"fixed": "b72cc2ecf4a11d3871f78a119a8f3cc7ab6d6c29"
}
],
"source": "REFERENCES_TAG"
}
]
}