Input validation error in MongoDB Go Driver - CVE-2026-81521

 

Input validation error in MongoDB Go Driver - CVE-2026-81521

Published: September 2, 2026


Vulnerability identifier: #VU146750
CSH Severity: Low
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-81521
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to redirect write operations to a different database or collection.

The vulnerability exists due to improper input validation in Client.BulkWrite when processing a caller-controlled database name containing a period character. A remote user can supply a crafted database name to redirect write operations to a different database or collection.


Affected software

MongoDB Go Driver

How to mitigate CVE-2026-81521

Install security update from vendor's website.

MongoDB Go Driver - update to 2.8.2

External References

Related Security Bulletins