All reports
High

mongodb: Reject "." and NUL bytes in database and collection names

Affected versions

Affected versions
>= 2.0.0, < 2.4.1
Fixed version
2.4.1
Affected versions
< 1.21.4
Fixed version
1.21.4

Exploitation

CVE-2026-81525

Probability of exploitation in the next 30 days: 0.49%

FIRST EPSS · 2026-11-24

Description

Impact

Passing untrusted input as part of a database or collection name may result in targeting a different database or collection than specified.

Patches

Fixed in PHP library 1.21.4 and 2.4.1.

Workarounds

Validate database and collection names prior to passing into APIs.

Links