Skip to content
Heist/ feed
Medium

NoSQL operator injection via unvalidated replacement document in findOneAndReplace

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-114647

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-114647

C# Driver

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "MongoDB",
    "product": "C# Driver",
    "versions": [
      {
        "status": "affected",
        "version": "2.13.0",
        "lessThan": "3.13.0",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-114647

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#52457 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement