EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference
cve-program · CVE-2026-120567
PublishedThe 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-120567 · CVE overview and exploitation status
cve-program · CVE-2026-120567
Related changes
Linked by CVE identifier- EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference · Advisory content revised · 4 Nov 2026
- ExecuteUpdate may evaluate caller-supplied values as MongoDB expressions · Newly collected advisory · 3 Nov 2026