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

Read the record on cve.org

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.

ProductVersions
Entity Framework Core Provider MongoDB9.1.3 through 9.1.4 Affected10.0.3 through 10.0.4 Affected

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.