Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-120567 EUVD-2026-116267

EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference

Published Nov 3, 2026 · Updated Nov 6, 2026 · Assigned by mongodb

Description

The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a setter that reads the entity being updated. In that case the update is sent as an aggregation pipeline, and a caller-supplied string beginning with $ is evaluated as an expression rather than stored as data. A party who can influence such a value may modify or remove fields in the records being updated, or copy other fields of the same record into them.

Affected products

VendorProductAffectedFixed
MongoDB Entity Framework Core Provider 9.1.3 – ≤ 9.1.4, 10.0.3 – ≤ 10.0.4 —

Advisories 1

References