Intel

AIKIDO-2026-182768

mongodb.mongo-c-driver is vulnerable to Resource Injection

Resource InjectionCVE-2026-81524 Published 2 days ago

54

Medium Risk

This Affects:

C++mongodb.mongo-c-driver
0.0.1 - 2.5.0
Fixed in 2.5.1
Are you affected? Scan for Free

TL;DR

The MongoDB C Driver assembles database and collection namespace strings from caller-supplied names across. Names containing embedded NUL bytes or dot characters are not rejected, so such input can be truncated or re-parsed and resolve to a different namespace than intended. When untrusted input is incorporated into database or collection names, operations can be silently retargeted to an unintended database or collection, enabling cross-tenant access to data. The fix adds package-owned validation that rejects dots and NUL bytes in database and collection names across the affected APIs.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application incorporates untrusted input into database or collection names.

Background info

mongodb.mongo-c-driver is vulnerable to Resource Injection in versions 0.0.1 - 2.5.0.

How to fix this

Upgrade the mongodb.mongo-c-driver 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