Skip to content

CVE-2026-114647 NoSQL operator injection via unvalidated replacement document in findOneAndReplace

MediumCVSS 5.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

The MongoDB C# Driver does not reject replacement documents whose top-level field names begin with a dollar sign in FindOneAndReplace, unlike other replace operations. An application that builds such a document from user-supplied field names can have the server apply update operators instead of a full replacement. The effect is limited to the document matched by the application's own filter, whose contents can be modified in ways the application did not intend.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB C Driver >= 2.13.0, < 3.13.0 3.13.0 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB C Driver >= 2.13.0, < 3.13.0 3.13.0

References