mongodb/mongodb
Affected
- introduced
0, fixed1.21.4(ecosystem)
Fixed versions
1.21.4
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-81525
mongodb: Reject "." and NUL bytes in database and collection names
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.
High Basis: The source's own band: HIGH
0, fixed 1.21.4 (ecosystem)1.21.4
The export has no generic command for this ecosystem.
2.0.0, fixed 2.4.1 (ecosystem)2.4.1
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0