high

CVE-2026-81525

Packagist · mongodb/mongodb

Summary

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

Severity
high
CVSS
8.1
EPSS
0.3% (p19)
CWE
CWE-943
Also known as
GHSA-65fr-j4p9-vc33
Published
2026-09-08
Updated
2026-09-08

Advisory details

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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.