Input validation error in MongoDB driver for C - CVE-2026-81524
Published: September 2, 2026
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
Fedora
mongo-c-driver
How to mitigate CVE-2026-81524
mongo-c-driver - addressed in versions 2.5.1-1.el10_3, 2.5.1-1.el10_4, 2.5.1-1.fc45