Skip to content

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

LowCVSS 2.3 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
MongoDB Entity Framework Core Provider >= 9.1.3, <= 9.1.4; >= 10.0.3, <= 10.0.4 after 9.1.4, 10.0.4 Fixed

Affected products

ProductAffected versionsFixed in
MongoDB Entity Framework Core Provider >= 9.1.3, <= 9.1.4 No fix listed
MongoDB Entity Framework Core Provider >= 10.0.3, <= 10.0.4 No fix listed

References