Intel

AIKIDO-2026-774224

mongodb.libmongocrypt is vulnerable to Improper Input Validation

Improper Input ValidationCVE-2026-81523 Published 2 days ago

44

Medium Risk

This Affects:

C++mongodb.libmongocrypt
0.0.1 - 1.20.2
Fixed in 1.20.3
Are you affected? Scan for Free

TL;DR

libmongocrypt builds MongoDB namespace strings from database and collection name arguments without validating their contents. When these identifiers carry externally influenced input, an embedded . in a database name can retarget an operation to a different namespace, and an embedded NUL byte can truncate a BSON collection or namespace name and cause inconsistent encryption and schema processing. These unchecked names let client-side encrypted operations be redirected across databases or collections. The fix rejects database and collection name arguments containing a . or a NUL byte.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you pass externally influenced or untrusted database or collection names into libmongocrypt APIs.

Background info

mongodb.libmongocrypt is vulnerable to Improper Input Validation in versions 0.0.1 - 1.20.2.

How to fix this

Upgrade the mongodb.libmongocrypt library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform