Input validation error in MongoDB driver for C - CVE-2026-81524

 

Input validation error in MongoDB driver for C - CVE-2026-81524

Published: September 2, 2026


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

Vulnerability details

The vulnerability allows a remote user to access a different database or collection than intended.

The vulnerability exists due to improper input validation in namespace strings in the MongoDB C Driver when processing untrusted database or collection names. A remote user can supply a specially crafted name containing dot or NUL characters to access a different database or collection than intended.


Affected software

MongoDB driver for C
Fedora
mongo-c-driver

How to mitigate CVE-2026-81524

Install security update from vendor's website.

MongoDB driver for C - update to 2.5.1
mongo-c-driver - addressed in versions 2.5.1-1.el10_3, 2.5.1-1.el10_4, 2.5.1-1.fc45

External References

Related Security Bulletins