Skip to content

CVE-2026-81528 NoSQL injection via array replacement bypassing update shape validation in driver write path

MediumCVSS 5.3 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

A MongoDB C# driver document-replacement code path omits the element-name/shape validation that the equivalent write paths apply, so a value supplied as a replacement is forwarded to the server without neutralization of query-language special elements. An application that passes untrusted, loosely-typed input as a replacement value therefore allows that input to be interpreted by the database as update logic rather than as data, executing under the application's own database credentials. Applications using strongly-typed document mappings are not affected.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB C Driver >= 2.9.0, < 3.11.1; >= 2.10.0, < 3.11.1 3.11.1 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB C Driver >= 2.9.0, < 3.11.1 3.11.1
MongoDB C Driver >= 2.10.0, < 3.11.1 3.11.1

References