NetSight
medium5.4

CVE-2026-120567

The MongoDB Entity Framework Core provider does not neutralize special elements in values passed to SetProperty when an ExecuteUpdate call also contains a sett…

Impact

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.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed.

Affected products · MongoDB

ProductAffected versions
Entity Framework Core Provider
from 9.1.3 through 9.1.4
from 10.0.3 through 10.0.4
Versions 9.1.3 ≤9.1.4, 10.0.3 ≤10.0.4

Weakness classification

References