Passing untrusted input as part of a database or collection name may result in targeting a different database or collection than specified.
Fixed in PHP library 1.21.4 and 2.4.1.
Validate database and collection names prior to passing into APIs.
{
"cwe_ids": [
"CWE-943"
],
"github_reviewed": true,
"github_reviewed_at": "2026-09-08T21:27:42Z",
"nvd_published_at": "2026-08-27T20:18:50Z",
"severity": "HIGH"
}