EF Core provider: pipeline-form ExecuteUpdate evaluates a user string setter as a $-field reference
- State
- Published
- Severity
- 2.3 Low
- Published
- Nov 3, 2026
- Updated
- Nov 6, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| Entity Framework Core Provider MongoDB | 9.1.3 through 9.1.4 Affected10.0.3 through 10.0.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 2.3 Low | mongodb | |
| 3.1 | 5.4 Medium | mongodb |
Weaknesses
- CWE-943 Improper Neutralization of Special Elements in Data Query Logic
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.